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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s