A trip planning service for electric vehicle owners
Created for the Ensimag’s Open Data Challenge, year 2015-2016
- 0.3
- Major client-side code cleanup with improved ergonomics
- Using v5 for OSRM Web API when computing a route
- 0.2.1
- Fixed issue DB sessions not being closed properly
- 0.2
- Added support for running trough an application server
- Using SQLAlchemy ORM: fixes potential SQL injections
- Reorganized client code
- Fixed start/finish marker display order
- 0.1
- Refactoring and cleanup of backend code
- Various bug fixes
- Switch to Bottle framework
- Better frontend usability
- COD defense
- Basic data import
- Geocoding and route computation
- Car comparison (not fitted in)
- A PostgreSQL DB with PostGIS extension
- Python 3 and the modules described in
requirements.txt
(install withpip install -r requirements.txt
) - A working Photon geocoding instance
- A working tile server instance
- A working OSRM instance
- Execute the contents of
data/sql/create_structure.sql
and then, the output ofsrc/utils/importToDb.py
- Copy the file
webapp/app_config.py.default
towebapp/app_config.py
and edit it to fit your needs
- Run the script located at
webapp/app.py
- Open a Web browser at the URL
localhost:8080
This is the car comparison part of the project.
To use it, you will need a PHP/MySql installation.
Please import data from data/sql/vehicle.sql
into a database named codata
.