Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

JustFixNYC/nyc-local-resources

Repository files navigation

This is the codebase for the JustFix.nyc Tenant Assistance Directory! The data itself is accessed through a CartoDB endpoint, so this is just the front-end. For more information about our organization, please visit www.justfix.nyc.

Note: this project was scaffolded using yeoman using yo angular generator version 0.15.1.

Getting Started

This guide assumes that you are using a UNIX system (most likely macOS), but everything is available on Windows if you follow the appropriate guides thru the links below.

Build tools and languages

  1. Open terminal. Some of these steps may require sudo in order to install.

  2. Install Node.js (v4.4.x is ideal) and make sure everything works:

node -v
  1. Update npm and make sure everything works:
npm install -g npm@latest
npm -v
  1. Use npm to install bower and grunt. You'll probably need sudo for this (using -g affects your machine globally).
sudo npm install -g bower grunt-cli
  1. Set up git if you don't already have it. Make sure that its available in terminal and that you Github account is linked to it.

  2. This project uses SASS for fun CSS things. In order to get things up-and-running, we need to download Compass, which can be a little tricky....

a. Test that you have Ruby installed on your computer. If you're using a Mac, it should already be there. If not, check here. To test:

which ruby
==> /Users/dan/.rvm/rubies/ruby-2.2.6/bin/ruby

b. Install Compass:

gem install compass

Download and install libraries

  1. Get a copy of the code!
git clone https://github.com/JustFixNYC/nyc-local-resources
  1. Use npm to install the various task managment libraries associated with grunt. Make sure you're in the root directory for the project - i.e. the same level as the package.json file.
npm install
  1. Next, you need to download the actual JS libraries and other dependencies for the app. From the same directory, download the bower packages.
bower install
  1. You should be good to go!

Regular use

  1. It should be quite simple to start the app in your development environment (again, make sure this is from the root directory):
grunt serve
  1. Go to http://localhost:9000 to see your development version! Grunt will watch for any changes you make to the code and automatically restart the server for live development.

Building assets and deploying

To do!

License

JustFix.nyc uses the GNU General Public License v3.0 Open-Source License. See LICENSE.md file for the full text.

Releases

No releases published

Packages

 
 
 

Contributors