/streetlives

A map based crowdsourcing site providing information for and from the homeless population of New York City

Primary LanguageJavaScriptMIT LicenseMIT

How to run Streetlives locally:

  1. Clone the repo:

git clone git@github.com:javierarce/streetlives.git

  1. Install the dependencies:

cd streetlives npm install

  1. Install grunt:

npm install -g grunt-cli

  1. Create a configuration file:

mv lib/config.sample.js lib/config.js

  1. Open lib/config.js and add your CartoDB credentials.
  2. Run the app:

node app.js

  1. Open http://localhost:7000 in your browser.

How to work on the app:

  1. Install and run the project.
  2. Run: grunt watch.
  3. Edit the files in the folders: sources/scss, sources/js & sources/templates.
  4. Saving a file in those folders will automatically compile them and refresh the site.