Update server setup logic and add admin user creation in setup page
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user