From 195348224c048d7e25cc73824a4dcc1f533be4b7 Mon Sep 17 00:00:00 2001 From: aster <137767097+aster-void@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:25:58 +0900 Subject: [PATCH 1/3] fix prepare deploy server --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9c75503f..80acaf01 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,9 @@ test: dev-db prepare-deploy-web: copy-common cd web; bun install; bun run build -prepare-deploy-server: copy-common - cd server; bun install; npx prisma generate; +prepare-deploy-server: copy-common sync-server generate-sql build-server deploy-server: - cd server; bun src/index.ts + cd server; bun src/target/index.js docker: copy-common @# deferring `docker compose down`. https://qiita.com/KEINOS/items/532dc395fe0f89c2b574 From fb53b43aed3e122d5623e336347c35534a68993d Mon Sep 17 00:00:00 2001 From: aster <137767097+aster-void@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:38:46 +0900 Subject: [PATCH 2/3] fix it --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 80acaf01..e5c5fecc 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ prepare-deploy-web: copy-common cd web; bun install; bun run build prepare-deploy-server: copy-common sync-server generate-sql build-server deploy-server: - cd server; bun src/target/index.js + make serve-server docker: copy-common @# deferring `docker compose down`. https://qiita.com/KEINOS/items/532dc395fe0f89c2b574 From 3ab196a9319f7b0f2a12536c5fb1eaf2c3a73fdd Mon Sep 17 00:00:00 2001 From: aster <137767097+aster-void@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:55:08 +0900 Subject: [PATCH 3/3] fix again --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e5c5fecc..72b7c243 100644 --- a/Makefile +++ b/Makefile @@ -45,9 +45,9 @@ test: dev-db prepare-deploy-web: copy-common cd web; bun install; bun run build -prepare-deploy-server: copy-common sync-server generate-sql build-server +prepare-deploy-server: copy-common sync-server generate-sql deploy-server: - make serve-server + cd server; bun src/main.ts docker: copy-common @# deferring `docker compose down`. https://qiita.com/KEINOS/items/532dc395fe0f89c2b574