Skip to content
Snippets Groups Projects
Commit a4c13e3f authored by Chi Chang's avatar Chi Chang
Browse files

Update build instructions

parent 697a14a2
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,12 @@ Note that the default api server base request url is defined in:
`webconsole/frontend/src/config/config.js`
## Run the Frontend Dev Web Server
Run the frontend development server with file watcher
```bash
yarn start
```
To specify backend server api url
```
REACT_APP_HTTP_API_URL=http://127.0.0.1:5000/api PORT=3000 yarn start
```
......@@ -4,3 +4,16 @@
```
go run server.go
```
## Development
To merge the new verison of frontend part to the webconsole server
```bash
cd frontend
yarn install
yarn build
rm -rf ../public
cp -R build ../public
```
The run `go run server.go` to see the webconsole with the new frontend.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment