chore: rename .env.example to .env.local.example, discourage use of yarn v1 in the docs
This commit is contained in:
parent
6e8236eb38
commit
e6811ae0df
@ -52,10 +52,10 @@ To try out this repo yourself, follow the steps below:
|
|||||||
|
|
||||||
1. Clone the repo to your computer (`git clone git@github.com:payloadcms/payload-3.0-demo.git`)
|
1. Clone the repo to your computer (`git clone git@github.com:payloadcms/payload-3.0-demo.git`)
|
||||||
2. `cd` into the new folder by running `cd ./payload-3.0-demo`
|
2. `cd` into the new folder by running `cd ./payload-3.0-demo`
|
||||||
3. Copy the `.env.example` by running `cp .env.example .env` in the repo, then fill out the values including the connection string to your DB
|
3. Copy the `.env.local.example` by running `cp .env.local.example .env.example` in the repo, then fill out the values including the connection string to your DB
|
||||||
4. Install dependencies with whatever package manager you use (`yarn`, `npm install`, `pnpm i`, etc.)
|
4. Install dependencies with whatever package manager you use (`pnpm o`, `npm install`, `yarn`, etc.). `pnpm` is highly recommended. The usage of yarn v1 is discouraged.
|
||||||
5. Start your database. For local postgresql use `.\start-database.sh` to start it in docker container.
|
5. Start your database. For local postgresql use `.\start-database.sh` to start it in docker container.
|
||||||
6. Fire it up (`yarn dev`, `npm run dev`, `pnpm dev`, etc.)
|
6. Fire it up (`pnpm dev`, `npm run dev`, `yarn dev`, etc.)
|
||||||
7. Visit https://localhost:3000 and log in with the user created within the config's `onInit` method
|
7. Visit https://localhost:3000 and log in with the user created within the config's `onInit` method
|
||||||
|
|
||||||
### Follow along with breaking changes
|
### Follow along with breaking changes
|
||||||
|
Loading…
Reference in New Issue
Block a user