-
cd Desktop
-
virtualenv bol
-
cd bol
-
source bin/activate
-
mkdir src && cd src
-
git clone https://github.com/learnwithcode/Bol-Retailer-Sync-Shipment.git . <=noticeinclude period
-
pip install -r requirements.txt
-
python manage.py migrate
-
python manage.py createsuperuser
-
python manage.py runserver
- brew install rabbitmq
- sudo apt-get install -y erlang
- sudo apt-get install rabbitmq-server
- sudo systemctl enable rabbitmq-server
- sudo systemctl start rabbitmq-server
- sudo systemctl status rabbitmq-server
-
celery -A mysite worker -l info
-
celery -A mysite beat -l info
To kill previous process if needed
-
pkill -9 celery