You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
726 B
726 B
Online software storefront
Python version: 3.5.2
Django 2.0
Server configuration
- Use systemd file with name gunicorn-eshop.service to initialize gunicorn server with DJANGO_SETTINGS_MODULE environment var
- Use systemd file with name celery-eshop.service to initialize celery
- Install virtualenv inside the project directory in run server
- Install dependencies from inside the activated virtualenv
- Create empty logs dir in project directory
###Deployment
- Use .env file with the structure described in .env.sample file
- Make migrations for modules: auth, accounts_ext, etc.
- Start celery queue for email with command:
celery -A eshop_project worker -l info --pool=eventlet