initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
python manage.py migrate --noinput
python manage.py collectstatic --noinput
exec gunicorn config.wsgi:application \
--bind 0.0.0.0:8000 \
--workers 4 \
--worker-class gthread \
--threads 2 \
--timeout 120 \
--access-logfile - \
--error-logfile -
+9
View File
@@ -0,0 +1,9 @@
-- LabGraph PostgreSQL initialization script.
-- Runs once when the postgres volume is first created (via docker-entrypoint-initdb.d).
-- Must execute before Django migrations.
-- uuid_generate_v4() used as default for all UUIDField primary keys
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
-- GIN index support for fuzzy text search on Node.label
CREATE EXTENSION IF NOT EXISTS "pg_trgm";