$ docker compose up --build
# web is at http://localhost:5173/posts
- Node 20 'Iron' (LTS) is installed
- pnpm package manager is installed
There is
.nvmrc
so you can go like this:# in workspace root $ nvm use $ npm i -g pnpm
# go to workspace root
$ cd <workspace_root>
# install dependencies
$ pnpm install
# build packages
$ pnpm run -r build
# (optional) lint code
$ pnpm lint
# (optional) format code
$ pnpm format
# (optional) run tests
$ pnpm run -r test
# start development environment
$ pnpm run -r start
# web is at http://localhost:5173/posts