qiuzhihui / WebSkeleton

A fast prototyping web skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniPG

Minimal playground for React + Redux + Flask

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

A fast prototyping web skeleton


Languages

Language:JavaScript 91.9%Language:Python 5.1%Language:HTML 3.0%