add default admin user

This commit is contained in:
2025-05-26 22:20:52 +02:00
parent 0e03681d82
commit 791b232c0a
3 changed files with 48 additions and 0 deletions

View File

@@ -48,6 +48,13 @@ with app.app_context():
print(f'Error creating site settings: {e}')
"
# Initialize admin user
echo "Initializing admin user..."
python3 -c "
from init_admin import init_admin
init_admin()
"
# Start the application
echo "Starting application..."
exec gunicorn --bind 0.0.0.0:5000 app:app