Skip to content

Commit 7c4bcae

Browse files
committed
Updates
1 parent 4652f9b commit 7c4bcae

5 files changed

+20
-2
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
DemocracyOS Site
2+
================
3+
4+
Site that's beign served on [democracyos.org](http://democracyos.org). Uses [BroccoliJS](https://github.com/broccolijs/broccoli) for asset compilation.
5+
6+
This project has two branches, `master` has the assets builded to be served by GitHub Pages, and **you** should make all the changes on `development` and then deploy it to `master` with `npm run deploy`.
7+
8+
## Commands
9+
10+
`npm run build`: Builds the app for production to `/build` folder.
11+
* `/app/*.jade` => `{filename}.html` using translations on `/app/translations`.
12+
* `/statics/**/*` => `/build/**/*`.
13+
* `/app/js/index.js` => `/build/js/app.js` using [Browserify](http://browserify.org/).
14+
* `/app/css/index.styl` => `/build/css/app.css` using [Stylus](http://stylus-lang.com/).
15+
16+
`npm run serve`: Local server for development.
17+
18+
`npm run deploy`: Builds the site and commits it to `master` branch. So, it will be visible on `http://democracyos.org`
-51.9 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)