Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Berardpi/OpenData-Where-Should-You-Live

Repository files navigation

Challenge Open Data : Where should I live

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.

Dependencies

To install the project, you need to have bower, node, npm, mongoDB, ruby (for compass), python, pip installed on your machine.

Deployment

Installing everything

Building the angular client

Run bower install and npm install to install the dependencies.

Build the app to create a dist folder containing everything.

grunt build

Installing & populating the database

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

Installing python server

The server will serve the html AND will be used as a REST API.

To install Eve (python server) run:

pip install eve

Launching the app

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

Using the app

The web app will be deployed at the address http://localhost:5000/index.html#/

Video

Alt text for your video

Screenshots

Contextualized map

alt tag alt tag

Single-criterion comparison (1 criterion : n neighborhoods)

alt tag

Multi-criteria comparison (n criteria : n neighborhoods)

alt tag

Neighborhood details (n criteria : 1 neighborhood)

alt tag

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published