mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Use env vars for frontend dev mode readme (#356)
This commit is contained in:
parent
7f8b71841f
commit
a6e0e3fa3c
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue