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:
parent
7fe90f615f
commit
f626370d3f
9 changed files with 235 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue