-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<img src='https://user-images.githubusercontent.com/1423657/147935343-598c7dfd-1412-4bad-9ac6-636994810443.png' style="margin-left:-10px" width=220> | ||
|
||
# :eye: cLoki View | ||
|
||
### Build Instructions | ||
|
||
***clone the repository***, then: | ||
|
||
##### install: | ||
|
||
```bash | ||
~/$ npm install | ||
``` | ||
|
||
##### build (dist): | ||
|
||
```bash | ||
~/$ npm run build | ||
``` | ||
##### start (development mode): | ||
|
||
```bash | ||
~/$ npm start | ||
``` | ||
|
||
will serve the UI on ``http://localhost:8080`` | ||
|
||
#### API Endpoint | ||
|
||
- set backend using ``./src/environment/env.dev.js`` or using ENV | ||
|
||
### Environment Variables: | ||
|
||
- ``HOST`` default: `` 0.0.0.0`` | ||
- ``PORT`` default: ``8080`` | ||
- ``API_URL`` default: ``http://localhost:3100`` | ||
|
||
```bash | ||
~/$ HOST=localhost PORT=8080 API_URL=http://cloki-host:3100 npm start | ||
``` |