feat: publish CodexPi contest snapshot
Some checks are pending
Qualité / tests (push) Waiting to run
Some checks are pending
Qualité / tests (push) Waiting to run
This commit is contained in:
6
scripts/create-admin.sh
Normal file
6
scripts/create-admin.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
if [[ "$(id -u)" == "0" ]]; then echo "Ne créez pas l'admin en root." >&2; exit 1; fi
|
||||
cd "$BASE"
|
||||
exec docker compose run --rm django-web python3 manage.py createsuperuser
|
||||
Reference in New Issue
Block a user