From 5c81e73d546fbc804477f4c4a5145400e2daac3e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 22 Sep 2025 14:28:30 -0400 Subject: Switch to systemli.etherpad role: currently installs etherpad 2.5.0 --- README.org | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'README.org') diff --git a/README.org b/README.org index 3c10e41..6ef495b 100644 --- a/README.org +++ b/README.org @@ -463,3 +463,37 @@ restreaming_platforms: It doesn't get automatically started, so you'll also need to call ~screen -S restream-$TRACK_ID-youtube~ and ~screen -S restream-$TRACK_ID-toobnix~. * BBB ansible-playbook -i inventory.yml prod-playbook.yml --tags bbb +* Local testing with vagrant + +Rough notes on local testing + +#+begin_src ruby :tangle test/front/Vagrantfile +# -*- mode: ruby -*- +Vagrant.configure("2") do |config| + config.vm.box = "debian/bookworm64" + config.vm.define "pad" do |pad| + end + config.vm.provider "virtualbox" do |vb| + vb.memory = "2048" + end + config.vm.network "private_network", ip: "192.168.56.2" + config.vm.provision "ansible" do |ansible| + ansible.playbook = "../../vagrant-playbook.yml" + end +end +#+end_src + +In ~test/front~: ~vagrant up --provision~ + +ansible-galaxy role install systemli.etherpad + +nodemon -e '*' -w ../../roles/pad/ -x "vagrant destroy -f && vagrant up --provision" + +Backing up: + +- name: Load vars + hosts: all + tags: always + tasks: + - include_vars: + file: prod-vars.yml -- cgit v1.2.3