Files
catapult/README.md
T
phoenix 669b729da9
catapult PR / Rustfmt (pull_request) Successful in 34s
catapult PR / Check (pull_request) Successful in 1m48s
catapult PR / Clippy (pull_request) Has been cancelled
Adding license
2026-07-14 11:33:18 -04:00

30 lines
1.1 KiB
Markdown

# catapult
A service that manages scheduling text messages.
## Getting started
Docker isn't required, but it is the quickest way to get started.
Copy over the `.env.docker.sample` to `.env`. From that point, make edits to the
file to get it working.
### Messaging configuration
The service vendor used to send the messages is `twilio`. After signing up and being
provided credentials, update the `TWILIO_*` variables.
### Client-Server interaction
In order for `catapult` to function properly, credentials need to be provided via
`SERVICE_USERNAME` and `SERVICE_PASSPHRASE`. The credentials are created from making
an API call to register a service user in `textsender_auth`. So, you need to have credentials
set in the `.env` file and use those same credentials to create the account in the
API call.
### API sources
The `AUTH_URL` and `API_URL` variables need to be set for the base URL for the
`textsender_auth` and `textsender_api` respectively.
Since this is meant to run along with `textsender_auth` and `textsender_api`, it isn't
meant to be run by itself. So no need to build or run the container in isolation, but
that capability is present.