Skip to content

akbar-yusupov/ecommerce

Repository files navigation

How to launch the project

  • In "ecommerce/settings" path create local_settings.py file

  • Extract GeoLite2-City.mmdb and GeoLite2-Country.mmdb and place it in "geoip" folder

  • Create at least one Storage model instance

  • To process the payment, you will need a Stripe CLI , extract it in the main directory. After that you can run command for handling payment events

  stripe listen --forward-to <ip>:<port>/payment/webhook/

Celery

  • Celery beat every week will send the most profitable product to customers

  • Command will send active coupons to all active customer:

  python3 manage.py send_coupons