some jank scripts
This commit is contained in:
parent
8e37326073
commit
6befed0a39
10
abra.sh
10
abra.sh
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue