Deploy Django application to a public url in 60 seconds

This is the last article from “Django in 60 seconds” series.

In the previous article, we created a simple Django application, added rest and admin panel. Now it is time to deploy the application.


We assume you have linux or macosx, otherwise, you may need to adapt commands to your system.

Check zmei version

Check zmei is updated and contains deployment feature:

$ pip install -U zmei-cli

Deploy application

Deploy is easy:

$ zmei deploy

Deploy done!
Your application is up at

At the end of the deployment process you will see public url of the application. Go to that url to see your app is working already!

Create admin user

Zmei creates a “micro virtual machine” that contains nginx + uwsgi + mysql + redis + celery and ssh as well.

Let’s use ssh to create admin user:

$ zmei ssh

And when you are in:

$ python createsuperuser

With this username, you can go to /admin/ part of your application.

Mine is here: Username “alex”, password “123123”.


And don’t forget we have also public api:


That was a very small part of what actually Zmei generator is capable of. Next article soon … Stay tuned ;)

P.S. Zmei Apps are in early beta, please don’t use it for production. But feel free to have fun with it, write feedback. After beta, there will be one application free, and others $3/month (not sure yet).


comments powered by Disqus