Update server setup logic and add admin user creation in setup page

This commit is contained in:
Sean Morley
2024-04-18 23:00:35 +00:00
parent 7fe90f615f
commit f626370d3f
9 changed files with 235 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ run_sql_scripts() {
echo "Finished running SQL scripts."
}
# Start your application here
# Print message
echo "Starting AdventureLog"
@@ -33,6 +34,9 @@ if [ -z "$SKIP_DB_WAIT" ] || [ "$SKIP_DB_WAIT" = "false" ]; then
wait_for_db
fi
# Wait for the database to start up
setup_admin_user
# generate the schema
# npm run generate