Use env vars for frontend dev mode readme (#356)

This commit is contained in:
Jonathan Zernik 2020-11-01 13:28:22 -05:00 committed by GitHub
parent 7f8b71841f
commit a6e0e3fa3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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