Primary Link
diff --git a/prepare_server.sh b/prepare_server.sh
index 81a13cf0..b9d2fc36 100755
--- a/prepare_server.sh
+++ b/prepare_server.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# set location to script directory
+cd "${0%/*}"
+
if [ -z "$CI" ];
then
# kill all subprocess on exit so that Bitbucket Pipelines process will not hang
@@ -46,6 +49,8 @@ mypsql() {
if [ "$SKIP_SETUP" = false ]; then
# TODO: in heroku we must do a `pg:resets` to reset the db
+ echo "Check postgres connection"
+ mypsql -c "SELECT 1"
echo "Drop all connections to $POSTGRES_DB"
mypsql -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = '$POSTGRES_DB' AND pid <> pg_backend_pid();" > /dev/null 2>&1
echo "Drop database: $POSTGRES_DB"
diff --git a/prepare_server_cypress.sh b/prepare_server_cypress.sh
index fa2e45ce..f8fb3dd3 100755
--- a/prepare_server_cypress.sh
+++ b/prepare_server_cypress.sh
@@ -1,3 +1,8 @@
+#!/bin/bash
+
+# set location to script directory
+cd "${0%/*}"
+
export IT_APP_ENVIRONMENT=development
export DJANGO_SETTINGS_MODULE=config.settings.test_cypress
export DJANGO_PORT=8001
diff --git a/server/config/settings/base.py b/server/config/settings/base.py
index 15a65c39..91369c6a 100644
--- a/server/config/settings/base.py
+++ b/server/config/settings/base.py
@@ -80,9 +80,6 @@ THIRD_PARTY_APPS = [
"drf_spectacular",
"django_htmx",
- "grapple",
- "graphene_django",
-
'wagtail.contrib.forms',
'wagtail.contrib.redirects',
'wagtail.embeds',
diff --git a/server/vbv_lernwelt/templates/learnpath/circle.html b/server/vbv_lernwelt/templates/learnpath/circle.html
index 057b190d..7fac7fec 100644
--- a/server/vbv_lernwelt/templates/learnpath/circle.html
+++ b/server/vbv_lernwelt/templates/learnpath/circle.html
@@ -1,104 +1,12 @@
{% extends "base.html" %}
-{% load wagtailcore_tags %}
-
-{% block body_class %}template-cicle{% endblock %}
-
-{% block content %}
-
-
-
-
-
-
{{ page.title }}
-
{{ page.description }}
-
{{ page.goals }}
-
-
-
- {% for learning_sequence in page.learning_sequences.all %}
-
-
{{ learning_sequence.title }}
- {% for learning_unit in learning_sequence.learning_units.all %}
-
- {% endfor %}
-
- {% endfor %}
-
-
-
-
-{% endblock %}
+{% block inline_javascript %}
+
+{% endblock inline_javascript %}
diff --git a/server/vbv_lernwelt/templates/wagtailadmin/pages/index.html b/server/vbv_lernwelt/templates/wagtailadmin/pages/index.html
new file mode 100644
index 00000000..337de9c8
--- /dev/null
+++ b/server/vbv_lernwelt/templates/wagtailadmin/pages/index.html
@@ -0,0 +1,14 @@
+{% extends "wagtailadmin/pages/index.html" %}
+{% load wagtailadmin_tags i18n %}
+
+{% block extra_js %}
+ {{ block.super }}
+
+
+{% endblock %}