Development repository for the development of the accessibility tool for Transport for West Midlands.
config/base
- contains YAML files for configuring the model, and what data files are created in which tables.doc
- contains documentation for modelling, Postgres setup, and the webserver backend.otp
- files required for running Open Trip Planner.reference
- contains the OpenAPI documentation for the RESTful API provided by the backend, created using stoplight.io studio.sql
- contains a number of SQL statements within files. The base level queries are Postgres compatible, with MySQL and SQLite compatible queries residing in their respective folders.src
- contains the Python source for the ETL and modelling process, largely adapted from the previous project repository. Also contains the source code for the RESTful API insrc/www
.
Make sure that all the requirements are installed, and that the virtual environment is activated (if nedded).
Navigate to src/www
and run pytest -v
. The full test takes around 10 minutes on the University server.