A simple skeleton for React and Django with legacy command line by file
- Django2
- Rabbitmq
- node 8.9.4 for Reactjs
pip install -r requirements.txt
$ export FLASK_APP=main.py
$ export FLASK_DEBUG=1
$ flask run
By default it will start Flask
at port 5000
with hot reload
$ cd f1
$ npm install
$ npm start
By default npm
will start serving file at port 3000
with hot reload
Start browse web from 3000
brew install rabbitmq
brew services start rabbitmq
celery -A ht6m worker -l info
. To startworker
in the another terminalpython manage.py runserver
npm start