Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.52 KB

README.md

File metadata and controls

43 lines (37 loc) · 1.52 KB

Karma


This is a simple e-commerce website built with Django.

page


Project Summary

Products are featured on the site. Users can add and remove items from their cart, as well as specify the quantity of each item and use discount coupons. Payment is made through the braintree system. page


Follow the following steps to run this in your local machine

virtualenv env
source env/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

Follow the following steps to run the asynchronous task manager (Celery + RabbitMQ)

1.Install RabbitMQ on Linux by executing the command below from the shell

apt-get install rabbitmq

2.After installing, RabbitMQ, execute the following commmand to launch RabbitMQ

rabbitmq-server

3.Open a new shell, change directory to your project directory and start your celery worker with the following command

celery -A myshop worker -l info

Note that celery has been installed when you ran 'pip install -r requirements.txt'

4.To monitor asynchronous tasks with Flower - a web application for monitoring celery. Open a new shell and run the following command from your project directory.

celery -A myshop flower