✏️ Fix old packages/db paths in documentation
This commit is contained in:
@@ -29,9 +29,9 @@ git clone git@github.com:<username>/typebot.io.git
|
||||
```sh
|
||||
cd typebot.io
|
||||
# check out the latest stable version or the one you want to use
|
||||
git checkout v2.9.1
|
||||
git checkout latest
|
||||
# copy the example env file
|
||||
cp packages/db/.env.example packages/db/.env
|
||||
cp packages/prisma/.env.example packages/prisma/.env
|
||||
cp apps/builder/.env.local.example apps/builder/.env.local
|
||||
cp apps/viewer/.env.local.example apps/viewer/.env.local
|
||||
```
|
||||
|
||||
@@ -4,8 +4,8 @@ Typebot is also pluggable to a Planetscale database. But it means, you'll need t
|
||||
|
||||
To do so, follow these instructions:
|
||||
|
||||
1. Copy `packages/db/.env.example` to `packages/db/.env` and replace `DATABASE_URL` with a development branch
|
||||
2. From the `packages/db` directory, run a the db push command: `pnpm run db:push`
|
||||
1. Copy `packages/prisma/.env.example` to `packages/prisma/.env` and replace `DATABASE_URL` with a development branch
|
||||
2. From the `packages/prisma` directory, run a the db push command: `pnpm run db:push`
|
||||
3. Then, in Planetscale dashboard, or using their CLI, you can create a new deploy request from this development branch to your production branch.
|
||||
|
||||
:::note
|
||||
|
||||
Reference in New Issue
Block a user