From a68a72cab2ba5fa7daa0445666f76c6e8fbad0f8 Mon Sep 17 00:00:00 2001 From: Valentinas Straigis Date: Tue, 9 Apr 2024 15:49:40 +0300 Subject: [PATCH] feat(postgres): update readme for database connection --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 32ac2fa..7c5d6b8 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ To try out this repo yourself, follow the steps below: 1. `cd` into the new folder by running `cd ./payload-3.0-alpha-demo` 1. 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 1. Install dependencies with whatever package manager you use (`yarn`, `npm install`, `pnpm i`, etc.) +1. Start your database. For local postgresql use `.\start-database.sh` to start it in docker container. 1. Fire it up (`yarn dev`, `npm run dev`, `pnpm dev`, etc.) 1. Visit https://localhost:3000 and log in with the user created within the config's `onInit` method