make superuser creation manual
This commit is contained in:
parent
f8abf9a414
commit
9201aba498
2 changed files with 9 additions and 1 deletions
|
@ -63,10 +63,18 @@ To set up you need:
|
||||||
Apply this file on your cluster with `kubectl apply -f application.yaml`.
|
Apply this file on your cluster with `kubectl apply -f application.yaml`.
|
||||||
Done.
|
Done.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
`python manage.py createsuperuser --noinput`
|
||||||
|
|
||||||
## Administration
|
## Administration
|
||||||
|
|
||||||
You can access the administration of the taiga installation via: your.taiga.url/admin/
|
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
|
## Backup
|
||||||
|
|
||||||
You need some form of cloud storage like AWS buckets and the respective access credentials
|
You need some form of cloud storage like AWS buckets and the respective access credentials
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
image: taigaio/taiga-back:latest
|
image: taigaio/taiga-back:latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["/bin/bash"]
|
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:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
|
|
Loading…
Reference in a new issue