Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233# Dev server commands. Run `just --list` from this directory.# Terraform state lives in DigitalOcean Spaces; backend credentials and TF_VARs# come from 1Password via `.env.local.op`, so `just tf` runs through `op run`.
set positional-arguments
default: @just --list
# terraform with args, e.g. `just tf plan`, `just tf output -raw droplet_ipv4`tf *args: @op run --env-file=.env.local.op -- terraform -chdir=terraform "$@"
# ssh into the host as devictssh: ssh devict@$(just tf output -raw droplet_ipv4)
# full ansible setup (all roles)setup: cd ansible && ansible-playbook site.yaml
# pull latest events image + restart the servicedeploy-events: cd ansible && ansible-playbook deploy-svc-events.yaml
# pull latest bot image + restart the servicedeploy-bot: cd ansible && ansible-playbook deploy-svc-bot.yaml
# pull latest caddy image + restart the servicedeploy-caddy: cd ansible && ansible-playbook deploy-svc-caddy.yaml