qiuzhihui / miniPG

mini playground for react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniPG

Minimal playground for React + Redux + Flask

We uses Semantic UI as our styleGuide https://react.semantic-ui.com

How to start

==Prepare environment==

- clone this repo
- brew install npm
- have Python2/Python3 on your mac.

==Prepare frontend==

- 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

==Prepare backend==

- cd miniPG/
- pip install -r requirement.txt
- python app.py
- go to http://localhost:5000/ and enjoy

About

mini playground for react


Languages

Language:JavaScript 90.6%Language:CSS 5.2%Language:Python 2.6%Language:HTML 1.6%