Along with the binary, the TextToSpeech device server requires a small script to configure the AWS keys and some pre-converted audio files. The audio files are converted via the build system and placed under the `build` directory. See the Build instructions for more information.
Along with the binary, the TextToSpeech device server requires a small script to configure the AWS keys and some pre-converted audio files. This script is located at `scripts/setup.sh` and must be run befre the device server is started.
Under `scripts` there is a script named setup.sh. This is to be sourced before running the device server (or unit tests). It will set the AWS keys to allow the devices server to use the AWS cloud SDK.
The audio files are converted via the build system and placed under the `build` directory. See [Assets](#Assets). These must be in place for the device server to load jingles from.
### Deployment
A suggested deployment strategy is as follows:
1. Make a directory called TextToSpeechDir in the servers bin directory.
2. Copy the TextToSpeech binary into TextToSpeechDir.
3. Copy script scripts/setup.sh into TextToSpeechDir.
4. Copy the build/jingles (see [Assets](#Assets)) to TextToSpeechDir.
5. Copy the script scripts/TextToSpeech to TextToSpeechDirś parent directory.
6. Setup with Astor as normal, except use the script as the executable.