Setup uwsgi

Berikut ini perintah uwsgi yang biasa saya gunakan:

/home/kholidfu/quotely/bin/uwsgi \
--socket /tmp/uwsgi.sock --http :8000 \
--chdir /home/kholidfu/quotely/quotely/ \
--module quotely.wsgi \
--env DJANGO_SETTINGS_MODULE=quotely.settings \
--virtualenv /home/kholidfu/quotely \
--chmod-socket=666 --master \
--pidfile=/tmp/project-master.pid --harakiri=20 \
--max-requests=5000 --vacuum --home=/home/kholidfu/quotely/ \
--processes=2