https://github.com/webispy/docker-avs
Docker image for avs-device-sdk SampleApp
https://github.com/webispy/docker-avs
alexa avs-device-sdk
Last synced: 5 months ago
JSON representation
Docker image for avs-device-sdk SampleApp
- Host: GitHub
- URL: https://github.com/webispy/docker-avs
- Owner: webispy
- Created: 2022-02-21T11:37:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-23T06:31:21.000Z (over 4 years ago)
- Last Synced: 2025-06-05T04:53:16.180Z (about 1 year ago)
- Topics: alexa, avs-device-sdk
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-avs
Docker image for the avs-device-sdk SampleApp runtime environment.
## Requirements
* Network enabled PulseAudio server.
* e.g. `/etc/pulse/default.pa` configuration file.
```sh
...
load-module module-native-protocol-tcp auth-ip-acl=172.17.0.0/24;127.0.0.1;192.168.0.0/16
...
```
## Usage
1. Create and start the docker container
```sh
docker run -it webispy/avs
```
2. set the PulseAudio server address.
```sh
export PULSE_SERVER=172.17.0.1
```
3. Change the clientId and productId in /opt/config.json to values corresponding to your AVS device registration.
```json
{
"deviceInfo": {
"clientId": "",
"productId": ""
}
}
```
4. Generate AlexaClientSDKConfig.json using genConfig.sh tool
```sh
cd /opt/tools
bash genConfig.sh /opt/config.json 12345 \
/opt/avs/Integration/database /opt/src \
/opt/avs/Integration/AlexaClientSDKConfig.json \
-DSDK_CONFIG_MANUFACTURER_NAME="my_project" \
-DSDK_CONFIG_DEVICE_DESCRIPTION="ubuntu"
```
5. Run the SampleApp
```sh
cd /opt/avs
./SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG9
# or run without debug message
./SampleApp ./Integration/AlexaClientSDKConfig.json
```