An interactive web application, inviting kids to engage with Nashville's local
history and community.
- Mailgun (http://www.mailgun.com/)
- Install MongoDB (http://docs.mongodb.org/manual/installation/)
mongod
- Launch instance of MongoDB locally
- Install Node.js (http://nodejs.org/download/)
- Clone Github repository
git clone https://github.com/nathanhood/nashploration
- Inside newly created project directory:
npm install
- Launch node server
PORT=3000 DBNAME=nashploration node app/app.js
- Import locations from data.nashville.gov
curl -X POST http://localhost:3000/addHistory
- This will create a 'locations' collection in your 'nashploration' db
- This can be viewed by opening the mongo shell in your terminal or by downloading robomongo (mongodb visual data manager)
- Add Wikipedia data for locations to database
- In terminal:
mongoimport --db nashploration --collection wiki --file db/wiki.json --jsonArray
- You should now be ready to begin:
- Kill current node server that is running
ctrl+c
- Start server with Mailgun key
PORT=3000 DBNAME=nashploration MAILGUN='your_key' node app/app.js
Note: You can still develop without a Mailgun account as long as development does not pertain to anything regarding emails.
- Node.js
- Express
- MongoDB
- Traceur
- Jade
- Less
- Google Maps
- Media Wiki
- Mailgun