update readme. separate deploy from develop

remotes/origin/HEAD
Max Yakovenko 8 years ago
parent bed936cd31
commit 6a6aaede78
  1. 10
      README.md

@ -14,9 +14,15 @@
3. Install dependencies from inside the activated virtualenv 3. Install dependencies from inside the activated virtualenv
4. Create empty logs dir in project directory 4. Create empty logs dir in project directory
###Deployment ###Development
1. Use .env file with the structure described in .env.sample file 1. Make .env file with the structure described in .env.sample file
2. Make migrations for modules: auth, accounts_ext, etc. 2. Make migrations for modules: auth, accounts_ext, etc.
2. Start celery queue for email with command: 2. Start celery queue for email with command:
celery -A eshop_project worker -l info --pool=eventlet celery -A eshop_project worker -l info --pool=eventlet
###Deployment
1. Make .env file with the structure described in .env.sample file
2. Make migrations for modules
3. Collect static
4. Restart gunicorn-eshop and celery-eshop daemons in systemd

Loading…
Cancel
Save