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

tsdicloud/otc_alexa_command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to Install the demo

Service to receive Alexa commands

Use script install otc_service.sh on a small machine with EIP on the internet.

Quickly create a self-signed certificate for testing

> openssl req -x509 -sha256 -nodes-days 730  -newkey rsa:4096 -keyout alexa_otc_ss.key -out alexa_otc_cert.pem 

Open up internal firewall on centos

> sudo firewall-cmd --permanent --zone=public --add-port=5443/tcp --add-service=https

Multi language support

Create a language label file (once):

cd src
pybabel extract -F babel.cfg -o messages.pot .

Start a new language (e.g. for language de):

cd src
pybabel init -i messages.pot -d translations -l de

Update the language label translation file with new/chaged labels:

cd src
pybabel update -i messages.pot -d translations 

Finally, compile the messages:

cd src
pybabel compile -d translations

About

Multicloud scenario with Alexa interacting with Open Telekom Openstack API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published