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.
virtualenv env
source env/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
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