README: Update scripts for running prod and stage

This updates the scripts used to run prod and stage locally.
This commit is contained in:
regexowl 2025-02-05 10:42:39 +01:00 committed by Klara Simickova
parent 0d1b264511
commit 3e542a60d3

View file

@ -44,9 +44,9 @@ Make sure you have npm@10 and node 18+ installed. If you need multiple versions
1. run `npm ci`
2. run `npm run start`, select prod environment and choose beta or stable.
2. run `npm run start:prod`
3. redirect `prod.foo.redhat.com` to localhost, if this has not been done already.
3. redirect `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
@ -58,9 +58,9 @@ echo "127.0.0.1 prod.foo.redhat.com" >> /etc/hosts
1. run `npm ci`
2. run `npm run start`, select stage environment and choose beta or stable.
2. run `npm run start:stage`
3. redirect `stage.foo.redhat.com` to localhost, if this has not been done already.
3. redirect `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