Files
Jeremiah a5a4b83a25 Sets prettier to run on the repo (#91379)
Prettier (an auto formatter) is set to only run within the tgui folder
currently. This removes that limitation, allowing it to automatically
format all supported files in the repo (.js, .html, .yml
[etc](https://prettier.io/docs/))

I made a few exceptions for bundled and generated files
I'm of the opinion that code should look uniform and am lazy enough to
want CTRL-S to format files without having to think beyond that
2025-06-05 19:13:02 -04:00
..

Basic documentation

To run follow these steps:

  1. Install Docker
  2. Run docker compose up -d in the ./tools/tts folder. This may take a while the first time.
  3. To build the container after making any changes to the non-persistent files, you can do docker compose build

If you are testing on local

Once it's running, edit your config so that TTS_HTTP_URL is set to http://localhost:5002 and TTS_HTTP_TOKEN is set to coolio

If you are deploying to prod

Edit your config so that TTS_HTTP_URL is a http request to your TTS server (whether that be localhost, an ip address or a domain) on port 5002 and TTS_HTTP_TOKEN is set to a random string value. You'll also need to modify the tts-api.py file and set the authorization_token variable to whatever you've set your TTS_HTTP_TOKEN to. This is to prevent unauthorized requests.