Minimal playground for React + Redux + Flask
- clone this repo
- brew install npm
- have Python2/Python3 on your mac.
- cd miniPG/Application/static
- npm install (This will install all the dependences in package.json)
- npm run watch (This will compile your react code into weibo/Application/static/dist/bundle.js)
- Opend a new tab and do following step
- cd miniPG/
- pip install -r requirement.txt
- python app.py
- go to http://localhost:5000/ and enjoy