From e3278bf98188d4cc06e5d1a146ea6c096ce180b2 Mon Sep 17 00:00:00 2001 From: Jacob Fletcher Date: Wed, 16 Nov 2022 12:47:33 -0500 Subject: [PATCH] chore: adds .env.example to demo --- packages/plugin-form-builder/README.md | 2 +- packages/plugin-form-builder/demo/.env.example | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/plugin-form-builder/demo/.env.example diff --git a/packages/plugin-form-builder/README.md b/packages/plugin-form-builder/README.md index b8a181caf..c404c3246 100644 --- a/packages/plugin-form-builder/README.md +++ b/packages/plugin-form-builder/README.md @@ -225,7 +225,7 @@ To actively develop or debug this plugin you can either work directly within the This repo includes a fully working, self-seeding instance of Payload that installs the plugin directly from the source code. This is the easiest way to get started. To spin up this demo, follow these steps: 1. First clone the repo - 1. Then, `cd PLUGIN_REPO && yarn && cd demo && yarn && yarn dev` + 1. Then, `cd PLUGIN_REPO && yarn && cd demo && cp env.example .env && yarn && yarn dev` 1. Now open `http://localhost:3000/admin` in your browser 1. Enter username `dev@payloadcms.com` and password `test` diff --git a/packages/plugin-form-builder/demo/.env.example b/packages/plugin-form-builder/demo/.env.example new file mode 100644 index 000000000..586b75f99 --- /dev/null +++ b/packages/plugin-form-builder/demo/.env.example @@ -0,0 +1,2 @@ +MONGODB_URI=mongodb://localhost/payload-plugin-form-builder +PAYLOAD_SECRET=kajsnfkjhabndsfgseaniluanbsrkdgbhyasfg