Update setup.sh

This commit is contained in:
kasv-p 2022-05-28 18:54:57 +05:30 committed by GitHub
parent c81dcacabf
commit 1e8062c1f0
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