diff --git a/.gitignore b/.gitignore index 792872f..4b24024 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ sikweb/settings.py uwsgi.ini uwsgi.log infoscreen/static/js/hsl.json +members/logs/* diff --git a/test_applet.sh b/test_applet.sh new file mode 100755 index 0000000..a63cb67 --- /dev/null +++ b/test_applet.sh @@ -0,0 +1,20 @@ +#!/bin/sh + + +activate () { + . ../virtualenv.sikweb/bin/activate +} +clear + +echo "This is a script that does the following things:" +echo "* activate virtualenv" +echo "* run Django migrations" +echo "* start Django devserver" +echo "* deactivate virtualenv" + +activate +python manage.py makemigrations --merge +python manage.py makemigrations +python manage.py migrate +python manage.py runserver +deactivate