About • Features • Getting Started • Dependencies • Contact • Licence
Öffis is a hybrid app for Android iOS and web that provides help travelling with public transport. Therefore, it offers more functions than a simple route planner. With this app travelling is as easy as by car. Enter the goal and get started.
- new features will be added soon
-
Clone the repo:
git clone https://github.com/Oeffis/Oeffis.git
-
Install NPM packages (stick to the order because backend depends on vrr_client):
cd /vrr_client npm install cd /backend npm install cd /frontend npm install
-
Get Nest.js CLI:
npm i -g @nestjs/cli
-
Get Ionic CLI:
npm install -g @ionic/cli
-
Run the project in your IDE
Needed dependencies will be listed here:
- install Node.js Version 18
- Docker
- Make sure to delete the current database in the
.localdev
folder if it exists. - Remove all files fro mthe
schema
folder. - Download the latest dump from https://dumps.oeffis.0209.cloud/.
- Place the dump in the
schema
folder. - Run
docker-compose up
to start the database.
To update the frontends client for the backends api use the
./update_fronte_api_client.sh
script. This script will require
you to have docker installed. It will use the backend/swagger-spec.json
as input.
./update_fronte_api_client.sh
After that the client will be updated and you can commit the changes.
Open a discussion and tag core-team (@Oeffis/core-team).
See LICENSE file for more information or visit Gnu.org .