This tool is an open source project built by the City of Philadelphia’s Office of Innovation and Technology, based on a project by OpenData.ch, the Swiss division of the Open Knowledge Foundation.
First, clone the repository and from within project directory install dependencies via:
$ npm install
Make your changes and view the application in its development at /src
.
Note: to preview data visualization, browser preview requires running a local webserver
Optimize the application by running:
$ npm run build
Commit the compiled site to master
branch
$ git commit -a
This will update the files in the /dist
directory. To push that directory to the gh-pages
branch of the repo, use:
$ git subtree push --prefix dist origin gh-pages