Skip to content

Commit 1ce0400

Browse files
committed
added some small chanegs to README to help explain local dev setup
1 parent f5825f8 commit 1ce0400

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,14 +390,27 @@ Switch `active_data_source` and update URLs/credentials via the **Settings** pan
390390
go run main.go
391391
# For build:
392392
# go build -o middleware-manager main.go
393+
394+
```
395+
Tip: Use this command if you need to set a hostname record in /etc/hosts for pangolin based on the internal IP for the pangolin container
396+
```
397+
docker network inspect -v pangolin
393398
```
394399

395400
### Frontend
396401

397402
```bash
398403
cd ui
399-
# If node_modules is missing: npm install (or yarn install)
400-
npm start # or yarn start
404+
cp src/package.json .
405+
npm install
406+
npm start
407+
```
408+
Note: if you are getting an error such as `options.allowedHosts[0] should be a non-empty string`
409+
410+
you should create a .env file in /ui folder. Do not do this in production (development only)
411+
412+
```sh
413+
DANGEROUSLY_DISABLE_HOST_CHECK=true
401414
```
402415

403416
## License

0 commit comments

Comments
 (0)