chore: adds .env.example to demo
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
2
packages/plugin-form-builder/demo/.env.example
Normal file
2
packages/plugin-form-builder/demo/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
MONGODB_URI=mongodb://localhost/payload-plugin-form-builder
|
||||
PAYLOAD_SECRET=kajsnfkjhabndsfgseaniluanbsrkdgbhyasfg
|
||||
Reference in New Issue
Block a user