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.
|
10 months ago | |
---|---|---|
.idea | ||
shiftregister | 10 months ago | |
storage | ||
.dockerignore | 10 months ago | |
.drone.yml | ||
.editorconfig | 10 months ago | |
.env.example | 10 months ago | |
.gitignore | 10 months ago | |
Dockerfile | 10 months ago | |
Dockerfile-dev | 10 months ago | |
LICENSE | ||
README.md | 10 months ago | |
docker-compose.yml | ||
entrypoint.sh | ||
manage.py | ||
requirements.txt | 10 months ago | |
setup.cfg |
README.md
shiftregister
CI Mirror / Drone CI
project setup
- make sure python 3.12 is installed
- install
python-psycopg2
system wide python -m venv env
. env/bin/activate
pip install -r requirements.txt
cp .env.example .env
sed -i '/^ENVIRONMENT=/c ENVIRONMENT=development' .env
./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/