1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

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