Update squash user details to be more portable

- Changes the user's email from `@myproject.com` to `@example.com`. myproject.com points to a real website, it feels better to use a domain that's definitely meant as a placeholder.
- Changes the password to `changeme`, matching the credentials used for https://github.com/wagtail/bakerydemo.
pull/5349/head
Thibaud Colas 2019-05-17 14:37:33 +01:00 zatwierdzone przez Tom Dyson
rodzic e0f84389bb
commit 8d10c4688e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ deployments:
- wagtail start mysite
- cd /myproject/mysite
- python manage.py migrate
- echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@myproject.com', 'password')" | python manage.py shell
- 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
- python manage.py runserver 0.0.0.0:80