This is a small application using a mongodb database, sets of open data and 3D.js to help the user find the Grenoble neighborhood in which he'd like to live.
To install the project, you need to have bower, node, npm, mongoDB, ruby (for compass), python, pip installed on your machine.
Run bower install
and npm install
to install the dependencies.
Build the app to create a dist folder containing everything.
grunt build
First of all launch a mongo instance:
mongod --shardsvr --dbpath mongo --port 27017
Then run the get_local_data script to populate the db. Data are fetched from the local data directory:
./get_local_data.sh
The server will serve the html AND will be used as a REST API.
To install Eve (python server) run:
pip install eve
Once everything is installed, you just have to launch the DB and the python server.
To launch a mongo instance : launch a mongo instance:
mongod --shardsvr --dbpath mongo --port 27017
To launch an eve server instance:
python run.py
The web app will be deployed at the address http://localhost:5000/index.html#/