Skip to content

Instantly share code, notes, and snippets.

@s2t2
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2t2/6ac8150f383d15b020e6 to your computer and use it in GitHub Desktop.
Save s2t2/6ac8150f383d15b020e6 to your computer and use it in GitHub Desktop.
CodeAcross Project: GovWiki

CodeAcross Notes

CodeAcross Project: GovWiki

Project Resources

Process Notes

Get access to the govwiki mongo database.

Install Mongodb.

brew update
brew install mongodb

Connect to data.

mongo ds045521.mongolab.com:45521/govwiki -u GOVWIKI_MONGOLAB_USERNAME -p

Install Node.

brew install node

Initialize new node project.

cd /path/to/govwiki-client
npm init
```

Install Mongoose into the project folder.

```` sh
cd /path/to/govwiki-client
npm install mongoose --save

Add an index.js file to the project root directory, and run via node.

cd /path/to/govwiki-client
node index.js

Install server.

npm install -g nodemon
npm install # to install express?

Run server.

cd path/to/govwiki-client/
nodemon index.js

Next Steps:

Geocode all the govs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment