some jank scripts

This commit is contained in:
decentral1se 2022-05-10 11:32:50 +02:00
parent 8e37326073
commit 6befed0a39
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 10 additions and 0 deletions

10
abra.sh
View File

@ -6,3 +6,13 @@ secrets() {
DJANGO_SECRET_KEY=$(openssl rand -base64 45)
abra app secret insert "$APP_NAME" django_secret_key v1 "$DJANGO_SECRET_KEY"
}
migrate(){
# run against the "api" service
python manage.py migrate
}
admin() {
# run against the "api" service
python manage.py createsuperuser
}