Update setup.sh

This commit is contained in:
kasv-p 2022-05-28 23:07:38 +05:30 committed by GitHub
parent 457bb862a9
commit b04b53069c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -20,3 +20,11 @@ else
echo "${DIR} Directory Created"
fi
echo Do you want ceate credentials for super user (Y/N) ?
read create
create=${create^^}
if [ "$create" == "Y" ]; then
### Take action if user want to create ###
python3 manage.py createsuperuser
fi