2
0
Fork 0
shiftregister/README.md

21 lines
849 B
Markdown
Raw Normal View History

2022-04-13 10:14:13 +02:00
# shiftregister
![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](shiftregister/core/static/tonkakt.svg)
2023-05-06 17:04:28 +02:00
2024-04-13 01:07:40 +02:00
## [CI Mirror](https://git.luj0ga.de/kontakt/shiftregister) / [Drone CI](https://ci.luj0ga.de/kontakt/shiftregister)
2023-05-06 17:04:28 +02:00
## project setup
2024-05-04 00:47:01 +02:00
* make sure python 3.12 is installed
2023-05-06 17:04:28 +02:00
* install `python-psycopg2` system wide
* `python -m venv env`
* `. env/bin/activate`
* `pip install -r requirements.txt`
* `./manage.py migrate`
2023-05-06 18:16:42 +02:00
* `./manage.py createsuperuser`
2023-05-06 19:33:57 +02:00
* `./manage.py runserver`
2023-05-06 18:16:42 +02:00
* start message queue with `docker-compose up -d broker result-backend`
* start runner with `celery -A shiftregister worker -B`
* add calendars at http://127.0.0.1:8000/admin/importer/calendar/add/
* change event state to 'event is running' at http://127.0.0.1:8000/admin/dynamic_preferences/globalpreferencemodel/3/change/