abra-0.10 app cmd -o -C musica.sutty.abyaya.la api admin
Shows a lot of Django hints but fails with:
Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.
```bash
abra-0.10 app cmd -o -C musica.sutty.abyaya.la api admin
```
Shows a lot of Django hints but fails with:
```
Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.
```
Manually fixed by running a shell to the api container and copy-pasting the admin function from abra.sh
```bash
abra-0.10 app run -o musica.sutty.abyaya.la api bash
export DJANGO_SECRET_KEY=$(cat /run/secrets/django_secret_key)
DATABASE_PASSWORD=$(cat /run/secrets/db_password)
export DATABASE_URL="postgres://funkwhale:$DATABASE_PASSWORD@db:5432/funkwhale"
python manage.py createsuperuser
```
Related #2
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Shows a lot of Django hints but fails with:
Manually fixed by running a shell to the api container and copy-pasting the admin function from abra.sh
Related #2
@fauno
Does
abra app cmd ... --ttywork to fix this?Yes! Added it to the README at #7