create the first user during installation in development mode

This commit is contained in:
bence committed 2021-04-29 20:02:00 +02:00
1 parent 7e68580db6
commit 70b60d2fb8
1 file changed
+3
+3
View File
@@ -27,6 +27,9 @@ if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then
echo "Linking view files..."
(cd ${ROOT_DIR} && ./mapg view:link)
else
echo "Creating the first user..."
(cd ${ROOT_DIR} && ./mapg user:add mapg@mapg.dev 123456 admin)
fi
touch ${ROOT_DIR}/installed