mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
15 lines
342 B
Bash
Executable file
15 lines
342 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 uWSGI
|
|
exec uwsgi --ini docker/uwsgi.ini &
|
|
# run websockets
|
|
exec /venv/bin/python /venv/lib/python3.11/site-packages/umap/ws.py
|