1.2 KiB
1.2 KiB
Dev Setup
NOTE: When using Gitpod/Codespaces, use at least 16GB RAM
Local dev with docker-compose
- Create
link-stack/.envfrom Bitwarden.env for root of link-stack - Run local dev with docker-compose:
git clone ... cd link-stack make start-dev
Or for local dev of a single app
- Create
link-stack/apps/link/.env.localfrom Bitwarden.env.local for link-stack/apps/link - Create
link-stack/apps/metamigo-frontend/.metamigo.local.jsonfrom Bitwarden.metamigo.local.json for link-stack/apps/metamigo/frontend - Build locally for development:
npm install turbo --concurrency 30 build turbo --concurrency 30 dev
Notes
- Turbo https://turbo.build/repo
- Running dev in certain workspaces https://turbo.build/repo/docs/handbook/dev#running-dev-only-in-certain-workspaces
- Linting https://turbo.build/repo/docs/handbook/linting
- Internal packages https://turbo.build/repo/docs/handbook/sharing-code/internal-packages
npm i
npm ls --production --depth 1 -json | jq -r '.dependencies[].resolved'
npm install --workspace=metamigo-common
Run a task in a specific project
turbo run build --filter metamigo-cli