From c569e02d8ab5ebcbb5a44e10c14799fa097c9bc7 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 2 Nov 2022 13:08:03 -0400 Subject: OBS overlays, starting to get publish and edit on res --- README.org | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 31a24af..2c53f3e 100644 --- a/README.org +++ b/README.org @@ -57,8 +57,24 @@ git remote add docker ssh://ikiwiki@127.0.0.1:2222/var/www/wiki.git Debugging ssh wiki 'cd /var/www/wiki.git; git update-ref refs/heads/master HEAD^' && git push docker 2022-pages -** Publishing -*** Prod +* Publishing + +Goals: +- [X] Set up Emacs 28.2 or a newer one +- [X] Check out the repositories +- [X] Load the configuration +- [X] Publish the backstage index +- [X] Publish the watchpages +- [X] Publish schedule to the wiki and push +- [ ] Have nice interactive setup +- [ ] Publish backstage index on a hook +- [ ] Connect to IRC and announce talks +- [ ] Push talk info the text files on the stream +- [ ] Start mpv in the right display +- [ ] Publish the prerec files +- [ ] Publish the prerec on the page + +** Prod To run the playbook and publish the main schedule: #+begin_src sh @@ -76,7 +92,7 @@ ansible-playbook playbook.yml -e '{"slug": "wayland"}' -i inventory.yml --tags p Force-publish the schedule: ansible-playbook -i inventory.yml prod-playbook.yml --tags publish -e force_publish=true -*** Docker +** Docker Creating: ansible-playbook -i docker-inventory.yml docker-playbook.yml --tags wiki,publish @@ -193,5 +209,10 @@ xrandr -s 1280x720 Firefox profiles like to be created in an X environment firefox -no-remote -CreateProfile "{{ emacsconf_id }}-{{ item.item.id }} +Update scenes from the gen copy: +ssh emacsconf-gen@res.emacsconf.org "cat ~/.config/obs-studio/basic/scenes/gen.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_id }}") | gsub("gen"; "{{ item.id }}") else . end)' > roles/obs/templates/scenes.json +ansible-playbook -i inventory.yml prod-playbook.yml --tags obs-scene + + Update scenes from the dev copy: ssh emacsconf-dev@res.emacsconf.org "cat ~/.config/obs-studio/basic/scenes/dev.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_id }}") | gsub("dev"; "{{ item.id }}") else . end)' > scenes.json -- cgit v1.2.3