Skip to content

Commit

Permalink
added documentation for development
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Feb 24, 2024
1 parent f820db1 commit b4235eb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/grid/veilid/development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Veilid - Development Instructions

### 1. Building Veilid Container

```sh
cd packages/grid/veilid && docker build -f veilid.dockerfile -t veilid:0.1 .
```

### Running veilid Container

#### 1. Development Mode

```sh
cd packages/grid/veilid && \
docker run --rm -e DEV_MODE=True -p 4000:4000 -p 5959:5959 -p 5959:5959/udp -v $(pwd)/server:/app/server veilid:0.1
```

#### 2. Production Mode

```sh
cd packages/grid/veilid && \
docker run --rm -p 4000:4000 -p 5959:5959 -p 5959:5959/udp veilid:0.1
```

0 comments on commit b4235eb

Please sign in to comment.