No description, website, or topics provided.
Clone or download
Pull request Compare This branch is even with chocolatechimpcookie:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
notes
public
.gitignore
All_nodejsVer.txt
Extract_collection_json
LICENSE
MongoFindExample.js
MongoPut.js
MongoRecords
README.md
models.js
package-lock.json
package.json
server.js

README.md

Newark Vacant Lots app

This app allows developers to explore abandoned lots in Newark. It is currently under active development. We are working on ways to enable communication between developers and the City of Newark. Hopefully this will help to encourage new opportunities for the city.

Map of abandoned lots

screen shot 2017-04-29 at 9 30 00 pm

Install

Needs work...

Run on server

Go to the project directory and first get the mongodb server running

$ mongod

You may have to use sudo depending on how you installed mongodb.

Then start you node server

$ node server.js

Run indefinitely on small server

Go to the cloned repo and checkout the deploy branch. Get the mongo server running indefinitely. Normally you can use a service, but on a small server you may need the --smallfiles and --nojournal options which significantly decrease the memory footprint of the mongo database. You can run it indefinitely using nohup:

$ sudo nohup mongod --smallfiles --nojournal &

Then start you node server (sudo is necessary because we are using port 80)

$ sudo forever start server.js