caarloshugo / open-budget-survey-tracker

Data Explorer for the Open Budget Survey Tracker, built in collaboration with the International Budget Partnership

Home Page:http://open-budget-survey-tracker.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Budget Survey

Manual install

Dependancies

  • node & npm
  • bower (for handling vendor libs) npm install -g bower

Installation

git clone https://github.com/okfn/open-budget-survey-realtime.git
cd open-budget-survey-realtime
bower update
npm install
gulp build && gulp deploy
ENV=development npm start

Open: http://localhost:3000/

Development

Whilst developing you should run gulp watch as it'll re-compile your assets for you.

Translations

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

About

Data Explorer for the Open Budget Survey Tracker, built in collaboration with the International Budget Partnership

http://open-budget-survey-tracker.herokuapp.com/


Languages

Language:HTML 57.7%Language:JavaScript 41.6%Language:CSS 0.8%