Skip to content

Commit

Permalink
Create BUILD.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Apr 14, 2022
1 parent 2f2df36 commit 85c3423
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions BUILD.md
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
```

0 comments on commit 85c3423

Please sign in to comment.