add instruction for deploy to readme

remotes/origin/HEAD
Max Yakovenko 8 years ago
parent 8b1e19c12c
commit d74341a5d8
  1. 6
      README.md

@ -8,7 +8,8 @@
---
### Server configuration
1. Use systemd file with name gunicorn.eshop.service to initialize gunicorn server
1. Use systemd file with name gunicorn-eshop.service to initialize gunicorn server with DJANGO_SETTINGS_MODULE environment var
2. Use systemd file with name celery-eshop.service to initialize celery
2. Install virtualenv inside the project directory in run server
3. Install dependencies from inside the activated virtualenv
4. Create empty logs dir in project directory
@ -17,4 +18,5 @@
1. Use .env file with the structure described in .env.sample file
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

Loading…
Cancel
Save