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.
|
|
2 years ago | |
|---|---|---|
| .idea | 3 years ago | |
| shiftregister | 2 years ago | |
| storage | 4 years ago | |
| .dockerignore | 3 years ago | |
| .drone.yml | 2 years ago | |
| .editorconfig | 2 years ago | |
| .gitignore | 4 years ago | |
| Dockerfile | 3 years ago | |
| Dockerfile-dev | 3 years ago | |
| LICENSE | 4 years ago | |
| README.md | 2 years ago | |
| docker-compose.yml | 3 years ago | |
| entrypoint.sh | 4 years ago | |
| manage.py | 4 years ago | |
| requirements.txt | 2 years ago | |
| setup.cfg | 2 years ago | |
README.md
shiftregister
CI Mirror / Drone CI
project setup
- make sure python 3.11 or 3.10 is installed
- install
python-psycopg2system wide python -m venv env. env/bin/activate- comment out librabbitmq in requirements.txt when using python 3.11
pip install -r requirements.txt./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 - 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/