A project designed to esthetically visualize dynamic data based on real and fictionally generated data.
Clone this repository in your local server if you're willing to run it locally and avoid loading screens. (htdocs folder if using XAMPP)
To access the production server where the application is hosted click on the link below :
Production link
For local use, after cloning make sure nodejs is running well on your side:
node -v
Same thing with npm in case you want to manage packages.
npm -v
Assuming everything works fine up to now, we are going to make sure you are running the appropriate python version (v 3.6.7) by running this command:
python --version
Assuming we have all the prerequisites, the following step is making sure all the libraries are included.
To skip this step all we got to do is including the .idea in our project locally which contains everything needed.
Otherwise, we can install them one by one using the commands below:
npm install express --save
npm install fs
npm install jsonl
pip install unittest
pip install psycopg2
pip install geojson
pip install numpy
pip install csv
pip install France
pip install shapely
pip install matplotlib
pip install socket
pip install urllib
pip install itertools
pip install geopy
pip install uuid
pip install re
pip install codecs
To create the data, open the file Main in the DataBase folder and run it. It creates the file "data_stud_200k". Then, run the Create_flow file, it will produce 4 files you can use with kepler.gl : "arc_200k.csv", "hexbin_200k.csv", "trip_etude_200k.csv" and "trip_travail_200k.csv"
The repository is linked with heroku's settings, which means all we have to do to deploy the application is pushing our modifications and changes into the right branch (beta for now) and it will be automatically built in case no errors are detected.
The port used for the deployment is specified server side by this variable:
const PORT = process.env.PORT || 3000;
- Kepler - Geospatial analysis tool for large-scale data sets
- Heroku - Platform as a service (PaaS)
- Nodejs - JavaScript runtime
- unittest - Unit testing framework for python
- npm - Node package manager
- Express - Web framework for Node.js
- Jallouf Younes - Initial work - Izaganami
- Alfred Mengin - Initial work - alfredmng
- Christophe Samboun - Initial work - csamboun
- Arthur Genet - Initial work - ArthurGenet
End.