Update CONTRIBUTING w/ production mode instruction (#15)
This commit is contained in:
parent
6b68f58291
commit
5ac8b0d49d
|
@ -24,6 +24,7 @@ If you're on a Mac, you can run the following commands to install the necessary
|
||||||
```bash
|
```bash
|
||||||
brew install node
|
brew install node
|
||||||
npm install -g @angular/cli@14.1.3
|
npm install -g @angular/cli@14.1.3
|
||||||
|
npm install -g yarn
|
||||||
|
|
||||||
brew install go
|
brew install go
|
||||||
|
|
||||||
|
@ -77,7 +78,7 @@ Next we'll start the processes described above:
|
||||||
|
|
||||||
# In terminal #1, run the following
|
# In terminal #1, run the following
|
||||||
cd frontend
|
cd frontend
|
||||||
npm run dist -- -c sandbox
|
yarn dist -- -c [sandbox|prod]
|
||||||
|
|
||||||
# In terminal #2, run the following
|
# In terminal #2, run the following
|
||||||
go mod vendor
|
go mod vendor
|
||||||
|
@ -85,6 +86,8 @@ go run backend/cmd/fasten/fasten.go start --config ./config.dev.yaml --debug
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_Note_: Fasten can run in 2 modes: sandbox or production (prod). In sandbox mode, it can only communicate with test servers (full of synthetic health data).
|
||||||
|
|
||||||
Now you can open a browser to `http://localhost:9090` to see the Fasten UI.
|
Now you can open a browser to `http://localhost:9090` to see the Fasten UI.
|
||||||
|
|
||||||
## Important URL's
|
## Important URL's
|
||||||
|
|
|
@ -44,3 +44,4 @@ testem.log
|
||||||
# System Files
|
# System Files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
.angular
|
||||||
|
|
Loading…
Reference in New Issue