drinks-manager/lib/create-admin.sh

10 lines
No EOL
183 B
Bash

#!/usr/bin/env bash
# enable debugging for this command
export DJANGO_DEBUG="true"
# make migrations & migrate
python3 $(pwd)/application/manage.py createsuperuser
echo -e "done."