Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time


  • Django 1.8+
  • Python 3.x +
  • Python 2.x +
  • Support OS : Ubuntu (Debian Derivatives)
  • Centos (not yet)

You should check this package.


sudo apt-get install python-pip
sudo apt-get install python3-pip
sudo apt-get install virtualenv


pip install djeasy 
pip3 install djeasy


This is important this project. Because your project doesn't match this directory doesn't work.

  • You must add requirements.txt

# Example Project ;

├── DjangoBlog
│   ├──
│   ├──
│   └──
│   └──
├── Blog
│    ├──
│    └──
│    └──
│    └──
│    └──
requirements.txt ---> Add!!

Example requirements.txt :

  • Do not forget to add the requirements.txt file.

  • Django ALLOWED_HOSTS = [] server ip or domain add.



Output :

--create                      Create a new site.
--nginx                       Nginx restart

Site Publishing Steps

  • You must create virtualenv for your project and this package.
  • NOT : You should know virtualenv name to use djeasy.

You can follow this;

cd /home/ # as you wish. My recommended in your /home/ directory.

virtualenv -p python3 DjangoEnv # example name : DjangoEnv
  • Upload or clone your project in server directory like /home/

Example :

cd /home/
git clone
mv DjangoBlog # to change name
  • Let's run the package.

We'll finish the process in four steps.

djeasy --create

  • You can give any name you want for nginx and gunicorn name. But you should don't keep in mind names, because you'll use this for restart nginx and gunicorn.

NOT : You can write multiple site. For example,


server ip or domain =

  • Restart the server

Commands used ;

--nginx                        Nginx restart
gunicorn_name --gunicorn       Gunicorn restart


djeasy --nginx
djeasy DjangoBlog --gunicorn


Process completed successfully.

NOT : The Json file is saved in the home directory, please do not delete it.