|
|
4 years ago | |
|---|---|---|
| .. | ||
| app | 4 years ago | |
| assets | 4 years ago | |
| templates | 4 years ago | |
| README.md | 4 years ago | |
| babel.config.js | 4 years ago | |
| manage.py | 4 years ago | |
| package.json | 4 years ago | |
| requirements.txt | 4 years ago | |
| server.js | 4 years ago | |
| webpack.config.js | 4 years ago | |
Setup virtualenv (optional)
virtualenv ve
. ve/bin/activate
Install dependencies
pip install -r requirements.txt
npm install
Run django server
./manage.py runserver
Run webpack dev server
node server.js
Now you can make changes to assets/js/app.jsx and the changes will show up in the browser automagically.