From 92ba2c483257ad0086bed3bec741238bf65ec0f2 Mon Sep 17 00:00:00 2001 From: Tom Dyson Date: Fri, 24 Jan 2020 15:23:58 +0000 Subject: [PATCH] Replace welcome page for Squash instances --- .squash.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.squash.yml b/.squash.yml index 9a0721594f..815cf67fc2 100644 --- a/.squash.yml +++ b/.squash.yml @@ -16,6 +16,7 @@ deployments: - wagtail start mysite - cd /myproject/mysite - python manage.py migrate + - echo "

Wagtail test instance

Log into /admin/ with 'admin' / 'changeme'.

" > home/templates/home/welcome_page.html - echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@example.com', 'changeme')" | python manage.py shell launch_steps: - cd /myproject/mysite