-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[功能開發] 修改開發時 yml #46
base: main
Are you sure you want to change the base?
[功能開發] 修改開發時 yml #46
Conversation
@@ -27,13 +27,16 @@ pnpm install | |||
pnpm dev:frontend | |||
``` | |||
|
|||
## 前後端一起啟動 | |||
檢查 localhost:300 是否正常 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Port 需要改成 3000
pnpm install | ||
|
||
pnpm dev | ||
docker compose -f docker-compose.dev.yml u |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker compose -f docker-compose.dev.yml u
少了一個 p
完整指令應該是
docker compose -f docker-compose.dev.yml up
"build": "tsc -p tsconfig.prod.json", | ||
"dev": "nodemon", | ||
"dev": "npx ts-node main.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外 CI/CD 似乎 build 不起來
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我這邊 後端程式碼啟動 沒有報錯 🤔 為什麼~~
修改開發 yml 使開發更順暢