diff --git a/README.md b/README.md index 487031b86..58b0ba649 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ ![Stack Logo](/assets/logo.png)

- 📘 Documentation - | ☁️ Hosted Version - | ✨ Demo - | Discord + 📘 Documentation + | ☁️ Hosted Version + | ✨ Demo + | Discord

## 💬 What is Stack? @@ -78,7 +78,7 @@ Please read the [contribution guidelines](CONTRIBUTING.md) before contributing. ### Setup -Pre-populated .env files for the setup below are available and used by default in `.env.development` in each of the packages, but you can choose to create your own `.env.local` files instead. +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. In a terminal, start the dependencies (Postgres and Inbucket) as Docker containers: @@ -86,7 +86,7 @@ In a terminal, start the dependencies (Postgres and Inbucket) as Docker containe docker compose -f dependencies.compose.yaml up ``` -Then: +Then open a new terminal: ```sh pnpm install @@ -94,12 +94,12 @@ pnpm install # Run build to build everything once pnpm run build +# initialize the database and seed it with some data +pnpm prisma seed + # Run code generation (repeat this after eg. changing the Prisma schema). This is part of the build script, but faster pnpm run codegen -# Push the most recent Prisma schema to the database -pnpm run prisma db push - # Start the dev server pnpm run dev ```