Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 836 Bytes

README.md

File metadata and controls

47 lines (37 loc) · 836 Bytes

Getting Started

Install requirements:

poetry install

Create local configuration files

cp .env_example .env
cp local_settings_example.py local_settings.py

Perform Database Migrations

poetry run python manage.py migrate

Run Redis

docker run --name=redis --publish=6379:6379 --hostname=redis --restart=on-failure --detach redis:latest

Start Server

poetry run python manage.py runserver 127.0.0.1:8000

Create requirements.txt

poetry export -f requirements.txt --without-hashes -o /src/requirements.txt 

Create new migrations

poetry run python manage.py makemigrations

Testdata

Testdata is provided as a fixture:

poetry run python manage.py loaddata DSTBundesliga/apps/leagues/fixtures/Season2020Testdata.json