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.
 
 
 
 
Max Yakovenko 73f230aa06 add core admin logic 8 years ago
accounts_ext update account forms 8 years ago
contact_us add contact_us app 8 years ago
core add core admin logic 8 years ago
eshop_project update project settings. Add jet settings 8 years ago
index add index app 8 years ago
products comment out cart module models 8 years ago
static update debug toolbar settings 8 years ago
templates fix layout for registration pages 8 years ago
.env.sample app settings and dependencies refactorring and code restructure 8 years ago
.gitignore update log folder in gitignore file 8 years ago
README.md add instruction for deploy to readme 8 years ago
manage.py update settings for manage.py 8 years ago
requirements.txt update celery dependencies and jet dependencies 8 years ago

README.md

Online software storefront

Python version: 3.5.2

Django 2.0


Server configuration

  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
  3. Install virtualenv inside the project directory in run server
  4. Install dependencies from inside the activated virtualenv
  5. Create empty logs dir in project directory

###Deployment

  1. Use .env file with the structure described in .env.sample file
  2. Make migrations for modules: auth, accounts_ext, etc.
  3. Start celery queue for email with command:
    celery -A eshop_project worker -l info --pool=eventlet