You can use this application to search and compare property data in the City of Philadelphia
This application is a JavaScript single-page app written in Backbone.js with Underscore templates. It is written in modules, using Require.js for AMD loading, and uses Grunt.js for the build process. Language support is provided by Require.js' i18n module, which loads dictionary files asynchronously.
We'd welcome your suggestions and feedback. Please submit issues and pull requests on the GitHub repository.
First, make sure you have node.js installed.
git clone --recursive git@github.com:CityOfPhiladelphia/property.git
cd property
npm install
(will install the packages in package.json)sudo npm install -g bower
(it may prompt you to re-enter your password)bower install
(will install the packages in bower.json)You can now browse to the app/
directory in the browser to view the development version of the app, which will load more slowly since it loads every file separately. To build the app into a single, production file, use grunt
and browse to the app/build/
directory in the browser.
To push changes back to the repository, navigate to the root directory of the app and use git add .
to find all changes in the directory, then git commit -m "Summary of the changes"
to group the changes into one commit, then git push origin master
to push the changes to the GitHub repository.
The build process puts files in the app/build/
directory, which is ignored by the git repository. To push the built app to production, we'll create another git repository inside the app/build/
directory using the gh-pages
branch. To do this:
app/build/
directoryapp/
git clone -b gh-pages -o production git@github.com:CityOfPhiladelphia/property.git build
to clone the gh-pages
branch of the repository into the app/build/
directory and name the remote "production"Once you've done that, you can run the build process described above, then navigate inside app/build/
and use git add .
, git commit -m "Summary of changes"
, and git push production gh-pages
to deploy. Be sure to specify gh-pages
in the final command or you will experience merge issues.