- Python3 and Pip3 must be installed
- On cloning the repository, run
pip3 install requirements.txt - To install RabbitMQ:
-
On Ubuntu
sudo apt-get install -y erlangapt-get install rabbitmq-server -
On MacOS
brew install rabbitmqThe RabbitMQ scripts are installed into
/usr/local/sbin. You can add it to your.bash_profileor.profile.vim ~/.bash_profileexport PATH=$PATH:/usr/local/sbin
-
For more details, refer here
-
cd [your-project-folder-name] -
In one terminal:
python3 manage.py runserver -
In another terminal: To run
RabbitMQ:- On Ubuntu
systemctl enable rabbitmq-serversystemctl start rabbitmq-serverCheck status:
systemctl status rabbitmq-serverTo stop RabbitMQ:
sudo -u rabbitmq rabbitmqctl stop-
On MacOS:
rabbitmq-server
-
In another terminal: to run
Celery:celery worker -A howsThat --concurrency=5
The webapp now runs on http://localhost:8000/cricVis/