Pendl is a transit timetable web app that uses GTFS static and realtime data. It provides departure information, stop search, and realtime updates.
-
Create
.env.developmentfrom.env.exampleand fill in values. -
Start services:
./scripts/dc-dev.sh up
-
Import static GTFS:
npm run gtfs:import
-
Start app:
npm run dev
Realtime polling runs inside the backend automatically when realtime API routes are requested.
Before committing:
npm run lint
npm test
npm run formatGet these files and rename them
docker-compose.prod.yml->docker-compose.yml.env.examples->.envand adjust values
Either export the port from the pendl-app service or add a docker network to you forwarding proxy.
Create folder gtfsdata and make it writeable by all (or use a docker volume)
Run
docker compose up -dImport static data once and call from a cronjob once a week.
docker compose run --rm gtfs-import