#Usage
python manage.py makemigrations picture
python manage.py sqlmigrate picture 0001
python manage.py migrate
python manage.py collectstatic
sh startup_uwsgi.sh # service uwsgi must be available
sodu service nginx start # nginx sites-enabled softlink to luominna_nginx.conf
curl www.luominna.com
How to config nginx and uwsgi, see 基于nginx和uWSGI在Ubuntu上部署Django
How to config uwsgi as a service, see uWSGI won't reload, restart or let me run service
#Related resources