Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
update the REAMDE for VCAC-A depolyment and cmake option
Browse files Browse the repository at this point in the history
  • Loading branch information
Pengfei Qu committed Sep 27, 2019
1 parent 69104a2 commit 1117ab9
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ See additional information on each service:
(3) cmake ..
(4) make
```
See also how to customize the building process with [cmake options](doc/cmake.md).

### Generate DASH/HLS segments

Expand All @@ -61,6 +62,7 @@ Use the following commands to start/stop services via docker swarm:
(1) make start_docker_swarm
(2) make stop_docker_swarm
```
See also how to setup [docker swarm](deployment/docker-swarm/README.md).

Use the following commands to start/stop services via docker-compose:
```bash
Expand Down
21 changes: 20 additions & 1 deletion deployment/docker-swarm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,23 @@ Finally, start/stop services as follows:
```
make start_docker_swarm
make stop_docker_swarm
```
```

### Docker Swam Single Machine Deployment with VCAC-A

Initialize VCAC-A node setup if you have not:
```
script/setup-vcac-a.sh
```

Update the Image to the VCAC-A node:
```
script/update-image.sh
```

Then start/stop services as follows:
```
make start_docker_swarm
make stop_docker_swarm
```

16 changes: 16 additions & 0 deletions doc/cmake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

Use the following definitions to customize the building process:
- **PLATFORM**: Specify the target platform. Currently the supported platform is ```Xeon``` and ```VCAC-A```.

### Examples:

```
cd build
cmake -DPLATFORM=Xeon ..
```

```
cd build
cmake -DPLATFORM=VCAC-A ..
```

0 comments on commit 1117ab9

Please sign in to comment.