The project is an online shop where a user can place orders, add products to the cart and manage them, make test payments via Stripe, receive invoices and use the website in two languages - English and Spanish. Also, the user can apply coupons.
How to run the project:
- Get secret keys at: [TBD]
- Load data:
python manage.py loaddata myshop.json - Migrate:
python manage.py migrate - Run server:
python manage.py runserver - Run Celery:
celery -A myshop worker -l info - Run RabbitMQ:
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:management-alpine - Run Stripe CLI:
stripe listen --forward-to localhost:8000/payment/webhook/ - Run Redis:
docker run -it --rm --name redis -p 6379:6379 redis