- node & npm
- bower (for handling vendor libs)
npm install -g bower
git clone https://github.com/okfn/open-budget-survey-tracker.git
cd open-budget-survey-tracker
bower update
npm install
gulp build && gulp deploy
npm start
Open: http://localhost:3000/
git clone https://github.com/okfn/open-budget-survey-tracker.git
cd open-budget-survey-tracker
bower update
npm install
npm watch
ENV=development npm start (in a separate terminal, or run `npm watch` in background)
Open: http://localhost:3000/
The watcher will re-compile your assets as you make changes.
To extract strings for translations you can run:
./node_modules/.bin/extract-pot --locale i18n --exclude bower_components -t jinja -f html .
To updated po files with new strings you can run:
./node_modules/.bin/merge-po i18n
To compile translated po files (to json message files) you can run:
./node_modules/.bin/compile-json i18n public/i18n