A multipurpose python flask API server and administration SPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
229 B

  1. #!/usr/bin/env bash
  2. # Migrate the Database
  3. FLASK_APP=server:server flask db upgrade
  4. # Make sure an administrator is registered
  5. python manage.py user register-admin
  6. # Start the application
  7. gunicorn -b 0.0.0.0:8080 server:server