We ❤️ Deutsche Bahn
- HAFAS
git submodule init
git submodule update
sudo apt install python3-dev python3-venvUsing an VEnv will help you to avoid dependency-(version)-conflicts.
python3 -m venv .venv
source .venv/bin/activateYou can deactivate the VEnv, by simply running deactivate.
If you want to re-enable the VEnv later, simply run source .venv/bin/activate again.
pip install -U -r requirements.txt
Copy .env.example to .env and change the database block.
This and all later commands will have to be run from inside the folder FahrplanDatenGarten.
python manage.py migrate
python manage.py dbapis_importstations
python manage.py dbapis_timetable {StationName}
python manage.py dbapis_journey
python manage.py runserver
The Webserver now runs under http://127.0.0.1:8000/