|
|
|
|
@ -14,9 +14,15 @@ |
|
|
|
|
3. Install dependencies from inside the activated virtualenv |
|
|
|
|
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. Start celery queue for email with command: |
|
|
|
|
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 |
|
|
|
|
|