diff --git a/README.md b/README.md index 3389fb1..e858ee6 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,18 @@ To set up you need: Apply this file on your cluster with `kubectl apply -f application.yaml`. Done. +## Setup + +`python manage.py createsuperuser --noinput` + ## Administration You can access the administration of the taiga installation via: your.taiga.url/admin/ +In order to login, you first have to create a superuser. +1. Connect to taiga-back pod: `kubectl exec -it taiga-back-deployment-... -- bash` +2. `source /opt/venv/bin/activate && python manage.py createsuperuser --noinput` + ## Backup You need some form of cloud storage like AWS buckets and the respective access credentials diff --git a/src/main/resources/taiga/back-deployment.yaml b/src/main/resources/taiga/back-deployment.yaml index f389e23..96b994f 100644 --- a/src/main/resources/taiga/back-deployment.yaml +++ b/src/main/resources/taiga/back-deployment.yaml @@ -20,7 +20,7 @@ spec: image: taigaio/taiga-back:latest imagePullPolicy: IfNotPresent command: ["/bin/bash"] - args: ["-c", "source /opt/venv/bin/activate && CELERY_ENABLE=true python manage.py migrate && sleep 15 && python manage.py createsuperuser --noinput"] + args: ["-c", "source /opt/venv/bin/activate && CELERY_ENABLE=true python manage.py migrate && sleep 15"] ports: - name: http containerPort: 8000