|
|
|
|
@ -18,20 +18,22 @@ |
|
|
|
|
|
|
|
|
|
###Development |
|
|
|
|
|
|
|
|
|
1. Make .env file with the structure described in .env.sample file |
|
|
|
|
2. Make migrations for modules: auth, accounts_ext, etc. |
|
|
|
|
3. Start celery queue for tasks with the command: |
|
|
|
|
1. Activate eshop environment using virtualenvwrapper(workon) |
|
|
|
|
2. Make .env file with the structure described in .env.sample file |
|
|
|
|
3. Make migrations for modules: auth, accounts_ext, etc. |
|
|
|
|
4. Start celery queue for tasks with the command: |
|
|
|
|
`celery -A eshop_project worker -l info --pool=eventlet` |
|
|
|
|
4. Make alias for gulp with alias command and path gulp executable file |
|
|
|
|
5. Run `gulp default` |
|
|
|
|
5. Make alias for gulp with alias command and path gulp executable file |
|
|
|
|
6. Run `gulp default` |
|
|
|
|
|
|
|
|
|
###Deployment |
|
|
|
|
|
|
|
|
|
1. Make pull request from bitbucket repo by ssh using passphrase |
|
|
|
|
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 |
|
|
|
|
5. Load fixture core fixture sites to configure site domain (before the FIRST http request) |
|
|
|
|
1. Activate eshop environment using virtualenvwrapper(workon) |
|
|
|
|
2. Make pull request from bitbucket repo by ssh using passphrase |
|
|
|
|
3. Make .env file with the structure described in .env.sample file |
|
|
|
|
4. Make migrations for modules |
|
|
|
|
5. Collect static |
|
|
|
|
6. Restart gunicorn-eshop and celery-eshop daemons in systemd |
|
|
|
|
7. Load fixture core fixture sites to configure site domain (before the FIRST http request) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|