0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Replace welcome page for Squash instances

This commit is contained in:
Tom Dyson 2020-01-24 15:23:58 +00:00 committed by Matt Westcott
parent 122575d2ee
commit 92ba2c4832

View File

@ -16,6 +16,7 @@ deployments:
- wagtail start mysite
- cd /myproject/mysite
- python manage.py migrate
- echo "<br><h1>Wagtail test instance</h1><p>Log into <a href='/admin/'>/admin/</a> with 'admin' / 'changeme'.</p>" > 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