4 ms·
Just a few notes to keep in mind... 1. You should use the nginx PPA instead of the default Ubuntu one. 2. uWSGI is an excellent alternative to Gunicorn, and c
by brendoncrawford 15y ago
Just a few notes to keep in mind...
1. You should use the nginx PPA instead of the default Ubuntu one.
2. uWSGI is an excellent alternative to Gunicorn, and can be run as a system startup service using supervisord.
3. As you get further along in your django project development, you may find you will need to apply patches to django core. In this case it helps to install from the git repo instead of pip, then checkout to the latest stable tag.
4. Instead of running `sudo /etc/init.d/nginx restart`, the idiomatic Ubuntu way is `sudo service nginx restart`.
- devmach 15y agoWhy PPA ? It's maintained by volunteers and there is no connection with "Igor Sysoev". What i'm missing ?
- brendoncrawford 15y agoProbably because the official Nginx docs recommend it: http://wiki.nginx.org/Install#Ubuntu_PPA http://wiki.nginx.org/Install#Ubuntu_PPA
- devmach 15y agoIt's not actually a recommendation, Nginx docs says : "Look, here is our official release under nginx.org and there is some wonderful work from volunteers which you can install development, stable and nightly builds without hassle"
- deccico 15y ago>>1 / 4 Noted >2 I chose GUnicorn for being more popular and easier to install. Performance difference seems to be very small and not sure how things evolved in last versions. >3 Certainly not what I want for an introduction.