cdc-placement-website-backend/superuser.bat

13 lines
427 B
Batchfile
Raw Permalink Normal View History

@echo off
set /p create="do you want to create supruser ? (Y/N) "
2022-06-06 19:25:25 +05:30
cd "CDC_Backend" &^
if %create% equ Y ( python manage.py createsuperuser )
if %create% equ y ( python manage.py createsuperuser )
python manage.py collectstatic --noinput
if exist Storage (echo Storage Directory already exists) else ( echo Creating Storage Directory... & mkdir Storage & echo Storage Directory Created)
timeout 3 > NUL
pause