Start the broker:
export COMPOSE_PROJECT_NAME=event
export COMPOSE_FILE=docker/docker-compose.yml
docker-compose up
Set up database:
export DATABASE_URL=postgres://postgres@localhost/event.dev
cargo install sqlx-cli --version 0.2.0
cargo sqlx database create
cargo sqlx migrate run
Set up config from the sample:
cp App.toml.sample App.toml
The you can build and run the service locally having stable Rust installed:
cargo run
This service has a regular deployment to k8s with skaffold. For example to deploy the current revision to testing run:
NAMESPACE=testing ./deploy.init.sh
IMAGE_TAG=$(git rev-parse --short HEAD) skaffold run -n testing
The source code is provided under the terms of the MIT license.