KOMPASS - digitales Verwaltungssystem für die JDAV
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
leonard.koenig 27eac5f73c Noch ein Link gefunden Zeile 52 1 year ago
docker docker: automatically build documentation and place in static root 1 year ago
docs Noch ein Link gefunden Zeile 52 1 year ago
jdav_web docs: add link to sidebar 1 year ago
.dockerignore docker: add test setup 3 years ago
.gitignore docker: automatically build documentation and place in static root 1 year ago
.gitmodules fix path of jet 4 years ago
Jenkinsfile ci: collect coverage report 3 years ago
Makefile Makefile/test: correct source path in coverage report 3 years ago
README.md readme: add build status badge 3 years ago
requirements.txt docs: initial setup 1 year ago

README.md

kompass

Build Status

This repository has the purpose to develop a webapplication that can be used by JDAV to send newsletters, manage user lists and keep material lists up to date. As this repository is also meant to be a base for exchange during development, feel free to contribute ideas in form of edits to this README, issues, landmarks, projects, wiki entries, ...

Docker

In the docker subfolder, there are docker-compose.yamls for development and production use. For the development version, no further setup is needed.

Production

In production, the docker setup needs an external database. The exact access credentials are configured in the respective docker.env files.

Useful stuff

Reset database for certain app

The following can be useful in case that automatic migrations throw errors.

  1. delete everything in the migrations folder except for init.py.
  2. drop into my MySQL console and do: DELETE FROM django_migrations WHERE app='my_app'
  3. while at the MySQL console, drop all of the tables associated with my_app.
  4. re-run ./manage.py makemigrations my_app - this generates a 0001_initial.py file in my migrations folder.
  5. run ./manage migrate my_app - I expect this command to re-build all my tables, but instead it says: "No migrations to apply."