burnchart/README.md

33 lines
834 B
Markdown
Raw Normal View History

#[burnchart](http://radekstepan.com/burnchart)
2014-09-02 03:28:28 +00:00
##Quickstart
2014-09-02 04:54:20 +00:00
```bash
$ npm install burnchart -g
$ burnchart --port 8080
# burnchart/3.0.0 started on port 8080
```
2014-10-29 04:56:37 +00:00
##Development
To run your local version of the app, install all the NPM dependencies, watch the source files in one window, and start the static file server in the other in `--dev` mode.
2014-11-02 00:42:39 +00:00
2014-10-31 00:36:40 +00:00
```bash
2016-01-12 13:55:48 +00:00
$ nvm use
$ npm install
$ make watch
$ make start --dev
# burnchart/3.0.0 (dev) started on port 8080
2016-01-10 19:18:35 +00:00
```
2016-01-16 15:15:27 +00:00
###GitHub Pages
To serve the app from GitHub Pages that are in sync with master branch, add these two lines to `.git/config`, in the `[remote "origin"]` section:
2016-01-16 15:15:27 +00:00
```
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:user/repo.git
push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master
```