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`.
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue