- Node.js version 0.10.0 or newer
- Install jspm, eslint, gulp globally
npm install -g jspm
npm install -g eslint
npm install -g gulp
To run locally for development.
- run
npm install
- run
jspm install
- Start a local server, e.g.
python -m SimpleHTTPServer
- Incase you want auto reload install live-server
npm install -g live-server
and runlive-server ./
To bundle the web app
- run
gulp bundle
, to bundle the app into build folder - Either serve
build
folder locally. - Or deploy it to gh-pages by running
gulp deploy
.
├─── .publish
├─── app/
│ ├─── components/
│ │ ├─── response/
│ │ └───
│ ├─── App.js
│ ├─── index.js
│ └───
├─── build/
├─── data/
├─── fit_dump.py
├─── Gulpfile.babel.js
├─── index.html
└─── README.md
This directory is used by gh-pages plugin to temporarily store data and publish to gh-pages branch of github.
This is where the entire application logic resides.
This directory contains the minfied source code for production deployment.
This is where JSON files will be stored for reading.