README: update start scripts (#711)
Update the start scripts to match the updated scripts in the `package.json`. Additionally, add instructions for forwarding the domains to localhost for the stage and prod since this is only mentioned in the `devel/` readme.
This commit is contained in:
parent
787b0180de
commit
2d6ed25cb9
1 changed files with 16 additions and 4 deletions
20
README.md
20
README.md
|
|
@ -16,19 +16,31 @@ Make sure you have npm@7 and node 15+ installed. If you need multiple versions o
|
|||
|
||||
1. run `npm ci`
|
||||
|
||||
2. run `npm run start:proxy:beta`. This command uses a prod-beta env by default. Configure your
|
||||
2. run `npm run prod-beta`. This command uses a prod-beta env by default. Configure your
|
||||
environment by the `env` attribute in `dev.webpack.config.js`.
|
||||
|
||||
3. open browser at `https://prod.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
3. Secondly redirect a few `prod.foo.redhat.com` to localhost, if this has not been done already.
|
||||
|
||||
```bash
|
||||
echo "127.0.0.1 prod.foo.redhat.com" >> /etc/hosts
|
||||
```
|
||||
|
||||
4. open browser at `https://prod.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
|
||||
### Webpack proxy (staging) -- *Runs with image-builder's stage deployment*
|
||||
|
||||
1. run `npm ci`
|
||||
|
||||
2. run `npm run stage`. This command uses a stage-beta env by default. Configure your
|
||||
2. run `npm run stage-beta`. This command uses a stage-beta env by default. Configure your
|
||||
environment by the `env` attribute in `dev.webpack.config.js`.
|
||||
|
||||
3. open browser at `https://stage.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
3. Secondly redirect a few `stage.foo.redhat.com` to localhost, if this has not been done already.
|
||||
|
||||
```bash
|
||||
echo "127.0.0.1 stage.foo.redhat.com" >> /etc/hosts
|
||||
```
|
||||
|
||||
4. open browser at `https://stage.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
|
||||
### Insights proxy (deprecated)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue