Removed the command 'run-script' and added the command 'shell', and updated the docs and README

This commit is contained in:
W13R 2022-04-18 17:00:12 +02:00
parent a9c5ec34fc
commit aa85ac5ffc
5 changed files with 38 additions and 44 deletions

12
lib/start-django-shell.sh Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# start a django shell
export DJANGO_DEBUG="true"
oldcwd="$(pwd)"
echo "Starting a django shell..."
echo -e "--------------------------------------------------------------------------------\n"
"$(pwd)/application/manage.py" shell
echo -e "\n--------------------------------------------------------------------------------"
cd "$oldcwd"