mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Use pnpm run build:dev in setup script
This commit is contained in:
parent
2f761c6467
commit
9546b8df4b
@ -101,7 +101,7 @@ This is for you if you want to contribute to the Stack project or run the Stack
|
||||
|
||||
### Setup
|
||||
|
||||
Pre-populated .env files for the setup below are available and used by default in `.env.development` in each of the packages. You should copy all the `.env.development` files to `.env.local` in the respective packages for local development.
|
||||
Pre-populated .env files for the setup below are available and used by default in `.env.development` in each of the packages. (Note: If you're creating a production build (eg. with `pnpm run build`), you must supply the environment variables manually.)
|
||||
|
||||
In a new terminal:
|
||||
|
||||
@ -109,7 +109,7 @@ In a new terminal:
|
||||
pnpm install
|
||||
|
||||
# Run build to build everything once
|
||||
pnpm run build
|
||||
pnpm run build:dev
|
||||
|
||||
# reset & start the dependencies (DB, Inbucket, etc.) as Docker containers, seeding the DB with the Prisma schema
|
||||
pnpm run start-deps
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"preinstall": "npx -y only-allow pnpm",
|
||||
"typecheck": "only-allow pnpm && turbo typecheck",
|
||||
"build:dev": "NODE_ENV=development pnpm run build",
|
||||
"build": "only-allow pnpm && turbo build",
|
||||
"build:backend": "only-allow pnpm && turbo run build --filter=@stackframe/stack-backend...",
|
||||
"build:dashboard": "only-allow pnpm && turbo run build --filter=@stackframe/stack-dashboard...",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user