2.0.0 Beta : Self-hosted Release

This commit is contained in:
2026-08-09 02:03:29 +08:00
parent 63a0751aba
commit 37cb05eb70
33 changed files with 810 additions and 31 deletions
+16 -1
View File
@@ -1,11 +1,14 @@
PYTHON := .venv/bin/python
.PHONY: install run test check l1 l2 l3 l3-all pipeline
.PHONY: install bootstrap run test check l1 l2 l3 l3-all pipeline prepare-data docker-up docker-down docker-logs
install:
python3 -m venv .venv
$(PYTHON) -m pip install -r requirements.txt
bootstrap:
$(PYTHON) -m database.bootstrap
run:
$(PYTHON) -m web.app
@@ -30,3 +33,15 @@ l3-all:
pipeline:
$(PYTHON) -c "from web.app import create_app; create_app(); from database.job_store import JobStore; from database.pipeline import run_pipeline; job_id = JobStore().create_job('manual_pipeline', created_by='cli'); print('job_id=', job_id); raise SystemExit(0 if run_pipeline(job_id) else 1)"
prepare-data:
$(PYTHON) -m database.migrate_data --target runtime-data --include-imports
docker-up:
docker compose up -d --build
docker-down:
docker compose down
docker-logs:
docker compose logs -f yrtv