From cce6531628a038679b3d0d6a881eb72bdcbb23a5 Mon Sep 17 00:00:00 2001 From: lee-hyeon-cheol Date: Mon, 21 Sep 2026 17:37:15 +0900 Subject: [PATCH] =?UTF-8?q?chore(backend):=20deploy.sh=20=EA=B0=80=20BACKE?= =?UTF-8?q?ND=5FPORT=3D8080=20=EB=8F=84=20=EC=B1=84=EC=9B=80=20=E2=80=94?= =?UTF-8?q?=20=EB=B9=A0=EC=A7=80=EB=A9=B4=20OpenCode=20=EA=B0=80=208001=20?= =?UTF-8?q?=EB=A1=9C=20=EB=A0=8C=EB=8D=94=EB=8F=BC=20=EC=97=B0=EA=B2=B0=20?= =?UTF-8?q?=EC=8B=A4=ED=8C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.1 --- 5_django_backend/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/5_django_backend/deploy.sh b/5_django_backend/deploy.sh index 2b674f5..d402923 100644 --- a/5_django_backend/deploy.sh +++ b/5_django_backend/deploy.sh @@ -14,6 +14,7 @@ grep -q '^DB_SSLMODE=' .env || echo 'DB_SSLMODE=disable' >> .env grep -q '^STREAM_FIRST_EVENT_TIMEOUT_S=' .env || echo 'STREAM_FIRST_EVENT_TIMEOUT_S=300' >> .env grep -q '^AAF_FABRIX_READ_TIMEOUT_S=' .env || echo 'AAF_FABRIX_READ_TIMEOUT_S=300' >> .env grep -q '^ABAP_INDEX_URL=' .env || echo 'ABAP_INDEX_URL=http://127.0.0.1:8100' >> .env +grep -q '^BACKEND_PORT=' .env || echo 'BACKEND_PORT=8080' >> .env # OpenCode 가 붙을 Django 포트. 없으면 8001 로 렌더돼 'Unable to connect' sed -i 's/^AAF_FABRIX_MODEL_ID=.*/AAF_FABRIX_MODEL_ID=339/; s/^AAF_FABRIX_MODELS=.*/AAF_FABRIX_MODELS=339:GaussO Flash,581:GaussO Think,605:Gemma4/' .env .venv/bin/python manage.py migrate --noinput [ -f seed/snippets.db ] && .venv/bin/python manage.py import_snippets seed/snippets.db