From 903bf4f42bab6d0ea0d45380eb98e2cd9c902bc3 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Sat, 20 Jul 2024 11:31:26 +0200 Subject: [PATCH] Document ops setup a bit more --- ops/README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/ops/README.md b/ops/README.md index a84040e..4a74a0f 100644 --- a/ops/README.md +++ b/ops/README.md @@ -9,10 +9,30 @@ Machine: - A / AAAA records on DNSimple for compass.heartofclojure.eu 159.100.242.109 2a04:c43:e00:5d3b:4f6:2cff:fe00:612 - + +Database +- We use a exoscale hosted postgresql instance as a backend for datomic +- Transactor runs on the same box ssh accesss: - Make sure your membership of the heartofclojure group is public on github https://github.com/orgs/heartofclojure/people - Wait up to ten minutes -- You can now ssh root@compass.heartofclojure.eu + +``` +ssh root@compass.heartofclojure.eu +systemctl status txor +systemctl status compass +journalctl -u compass -f +``` + +``` +ssh compass@compass.heartofclojure.eu +vim ~/config.edn +``` + +Deploys +- we have a bare repo on the server +- in there there's a pre-receive hook (ops/pre-receive.bb) +- pushed to this repo will trigger a deploy +- the github actions does a push