Law&Orga is a project of Refugee Law Clinics Deutschland e.V.
This is the main backend service of Law&Orga.
Special thanks to Dominik Walser who was the first developer on this project.
© AGPL-3.0
This project uses Django, which is based on python.
git clone https://github.com/lawandorga/lawandorga-backend-service.git
cd lawandorga-backend-service
pipenv install
tmp/media/
, tmp/static/
, tmp/logs
pipenv shell
python manage.py migrate
python manage.py create_dummy_data
python manage.py runserver
The command create_dummy_data
creates an user with email dummy@law-orga.de
and password qwe123
. You can use it to login into the development frontend.
git pull
pipenv install
python manage.py migrate
python manage.py runserver
You might want to look into the following file .github/workflows/deploy.yml
. This workflow file tests the application
and afterwards it builds and pushes the image into a docker registry. From that registry you can deploy the image to the
hoster of your choice. Some environment variables need to be set within the running environment.
DB_NAME=""
DB_USER=""
DB_PASSWORD=""
DB_PORT=""
DB_HOST=""
DJANGO_SECRET_KEY=""
EMAIL_ADDRESS=""
EMAIL_HOST=""
EMAIL_PASSWORD=""
EMAIL_PORT=""
PIPELINE_IMAGE=""
PIPELINE_SERVICE=""
S3_ACCESS_KEY=""
S3_BUCKET_NAME=""
S3_SECRET_KEY=""