mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
13 lines
308 B
Bash
Executable file
13 lines
308 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
source /venv/bin/activate
|
|
|
|
# collect static files
|
|
umap collectstatic --noinput
|
|
# now wait for the database
|
|
umap wait_for_database
|
|
# then migrate the database
|
|
umap migrate
|
|
# run the server
|
|
exec uvicorn --proxy-headers --no-access-log --host 0.0.0.0 umap.asgi:application
|