diff --git a/README.md b/README.md index f2ab362..aaf6294 100644 --- a/README.md +++ b/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