From a6e0e3fa3cfc0fe0d699f29ca133ebcf96d03fe0 Mon Sep 17 00:00:00 2001 From: Jonathan Zernik Date: Sun, 1 Nov 2020 13:28:22 -0500 Subject: [PATCH] Use env vars for frontend dev mode readme (#356) --- frontend/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/README.md b/frontend/README.md index 4fdc2a2f..677cce26 100755 --- a/frontend/README.md +++ b/frontend/README.md @@ -17,12 +17,10 @@ ## Run in dev mode - [Build protos](#build-protos) -- Edit **config.ini** and add the following configs in the `webadmin` section +- Start the squeak server with the `WEBADMIN_LOGIN_DISABLED` and `WEBADMIN_ALLOW_CORS` environment variables: ``` - login_disabled=true - allow_cors=true + $ WEBADMIN_LOGIN_DISABLED=TRUE WEBADMIN_ALLOW_CORS=TRUE docker-compose up ``` -- Start the squeak server. - Start the frontend in dev mode with the `REACT_APP_SERVER_PORT` environment variable. ``` $ npm install