OpenCLTBrigade / adopt-a-street

Adopt A Street
1 stars 8 forks source link

Adopt A Street

Getting Started With NodeJS and Sails

In Windows

The same as above, but you may need to add NPM & NodeJS to your path

Adding NPM To your Path

(Replace {username} with your computer username.)

  1. Open "Control Panel" > Type "system" into the search > Click on "Edit the system environment variables"
  2. In the window that shows up click "Environment Variables..." (Towards the end of the window).
  3. Under "User variables for {username}" > Select the "Path" variable > Click "Edit...".
  4. At the end of the text add: ;C:\Users\{username}\AppData\Roaming\npm

Creating NODE_PATH Variable

(Replace {username} with your computer username.)

  1. Open "Control Panel" > Type "system" into the search > Click on "Edit the system environment variables"
  2. In the window that shows up click "Environment Variables..." (Towards the end of the window).
  3. Under "User variables for {username}" > Click "new..."
  4. In Variable name, put "NODE_PATH" . in Variable value, put "%USERPROFILE%\Application Data\npm\node_modules" (Including the quotes)

Generating Street Data

Requirements

On Mac, install via Homebrew:

brew install gdal libspatialite spatialite-tools spatialite-gui

Note: ogr2ogr is part of the GDAL package.

How to