Commit da085558 authored by Johannes Zellner's avatar Johannes Zellner

Add a postinstall for admin account details

parent f7d6b425
......@@ -16,6 +16,7 @@
"website": "https://www.limesurvey.org",
"icon": "file://logo.png",
"changelog": "file://CHANGELOG",
"postInstallMessage": "file://POSTINSTALL.md",
"addons": {
"mysql": {},
"localstorage": {}
......
This app instance is pre-setup with an admin account.
`username: admin`
`password: changeme`
**Please change the admin password on first login**
The admin panel is available at /index.php?r=admin
......@@ -14,7 +14,7 @@ sed -e "s/'connectionString' => '.*',/'connectionString' => 'mysql:host=${MYSQL_
if [[ -z "$(ls -A /app/data)" ]]; then
echo "==> Run installation script"
sudo -u www-data php /app/code/application/commands/console.php install admin password Admin admin@example.com
sudo -u www-data php /app/code/application/commands/console.php install admin changeme Admin admin@example.com
fi
echo "==> Ensure folders"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment