#Rapid Web Application Development using Django
###Deployment
- Setting up Django with Nginx, Gunicorn, virtualenv, supervisor and PostgreSQL - Michał Karzyński
- Tutorial to seting up a django website in production.
- https://adiyatmubarak.wordpress.com/2016/02/12/configure-django-with-postgresql-gunicorn-nginx/
- https://github.com/gcollazo/Fabulous
###Deployment - Example
sudo chown -R www-data:www-data /var/webapps/materiable_django/ sudo chmod -R g+w /var/webapps/materiable_django sudo chmod u+x bin/gunicorn_start.sh
Add configuration for Supervisor in /etc/supervisor/conf.d
Add NGINX configuration
sudo supervisorctl reread sudo supervisorctl update sudo supervisorctl status materiable sudo supervisorctl stop materiable sudo supervisorctl restart materiable
Always test using for example .. gunicorn jr.wsgi --bind 0.0.0.0:4578