Add required env vars for backends in README

This commit is contained in:
Raghunandan
2020-05-22 00:00:07 +02:00
parent be3f8c3b52
commit 236bbd72a1
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -7,6 +7,16 @@ This is the backend part of the auth plugin.
It responds to auth requests from the frontend, and fulfills them by delegating
to the appropriate provider in the backend.
## Requirements
Needs AUTH_GOOGLE_CLIENT_ID and AUTH_GOOGLE_CLIENT_SECRET set in the environment for the backend to startup
## Local development
export AUTH_GOOGLE_CLIENT_ID=<INSERT_CLIENT_ID_HERE>
read -r AUTH_GOOGLE_CLIENT_SECRET=<INSERT_CLIENT_ID_HERE>
run `yarn start` in packages/backend folder
## Links
- (The Backstage homepage)[https://backstage.io]