|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
## project setup
|
|
|
|
|
|
|
|
|
|
* make sure python 3.12 is installed
|
|
|
|
|
* install `python-psycopg2` system wide
|
|
|
|
|
* (TODO: why?) install `python-psycopg2` system wide
|
|
|
|
|
* `python -m venv env`
|
|
|
|
|
* `. env/bin/activate`
|
|
|
|
|
* `pip install -r requirements.txt`
|
|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
* `./manage.py migrate`
|
|
|
|
|
* `./manage.py createsuperuser`
|
|
|
|
|
* `./manage.py runserver`
|
|
|
|
|
* start message queue with `docker-compose up -d broker result-backend`
|
|
|
|
|
* start runner with `celery -A shiftregister worker -B`
|
|
|
|
|
* start message queue with `docker compose up -d broker result-backend`
|
|
|
|
|
* start runner with `celery -A shiftregister worker -B -l INFO`
|
|
|
|
|
* 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/
|
|
|
|
|