Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142# Dev server commands. Run `just --list` from this directory.# Terraform must be initialized (`just init`) before ssh or ip will resolve.
default: @just --list
# Droplet IPv4 from terraform output.ip: @cd terraform && terraform output -raw droplet_ipv4
# terraform initinit: cd terraform && terraform init
# terraform planplan: init cd terraform && terraform plan
# terraform applyapply: init cd terraform && terraform apply
# ssh into the host as devictssh: ssh devict@$(just ip)
# 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