diff --git a/README.md b/README.md index 6afefa71..ce5d1b45 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,7 @@ The CADT UI can be hosted as a web application, either for internal use, or made To host the UI on the web, use the [web-build.tar.gz file from the releases page](https://github.com/Chia-Network/cadt-ui/releases). One of the simplest solutions is to uncompress these files into a [public S3 bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html). These files could also be served by any webserver, such as Nginx or Apache. -To make the CADT UI web application automatically connect to a CADT host by default, build the application from source (`npm install && npm run build`) with the following environment variables set: - -* `REACT_APP_API_HOST`: Set to the URL of the CADT API, including the `/v1` path. For example: `https://www.example.com:31310/v1` -* `REACT_APP_APP_URL`: Set to the URL of the UI application. +To make the CADT UI web application automatically connect to a CADT host by default, copy the `config.example.json` file to `config.json` and change the `apiHost` to be the CADT API hostname, including http:// and the path (everything before the `/v1` part of the API URL) ### From Source