Skip to content

farmhelden/farmhelden-server

Repository files navigation

Prerequisites

docker-compose

Install & Run

docker-compose up

Use Django Management Commands:

Use this while docker-compose up is running. Open a second terminal tab and execute to get a shell on the python api container:

./manage.sh

create superuser

./manage.sh # on host
python manage.py createsuperuser --email admin@example.com --username admin # in container

fill database with seed values

./manage.sh # on host
python manage.py seedDbData # in container

API definition

Server and client communicate via REST API, the Documentation can be found here

Database Structure

Database Structure