Commit da085558 authored by Johannes Zellner's avatar Johannes Zellner

Add a postinstall for admin account details

parent f7d6b425
......@@ -16,6 +16,7 @@
"website": "",
"icon": "file://logo.png",
"changelog": "file://CHANGELOG",
"postInstallMessage": "file://",
"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
sudo -u www-data php /app/code/application/commands/console.php install admin changeme Admin
echo "==> Ensure folders"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment