add frontend process service
This commit is contained in:
parent
6da83d87fa
commit
188b300a7f
4 changed files with 31 additions and 7 deletions
|
|
@ -74,12 +74,15 @@ those changes with the most relevant parser, formatter, dry run, or check.
|
|||
- Run backend commands from `backend/`, or explicitly change into it in the
|
||||
command. The direnv target remains the worktree root.
|
||||
- Run frontend commands from `frontend/website/`.
|
||||
- `process-compose` does not start the frontend. Start it separately with
|
||||
the worktree's assigned port when needed:
|
||||
- `process-compose` starts the frontend on the worktree's assigned port. To
|
||||
start only the frontend:
|
||||
|
||||
```sh
|
||||
direnv exec "$(git rev-parse --show-toplevel)" \
|
||||
npm run dev -- --port "$VITE_PORT"
|
||||
npm run dev -- \
|
||||
--host 127.0.0.1 \
|
||||
--port "$VITE_PORT" \
|
||||
--strictPort
|
||||
```
|
||||
|
||||
- When a normally valid check fails because a required service is down,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue