Changes

Jump to: navigation, search

Trigger

586 bytes added, 16:34, 5 February 2023
[[Category:Services]]
== Information ==
* https://trigger.fixme.ch Trigger for (also known as '''ctrl''') is a web interface created to change the space status, also controls the and control [[LED_Retrofit]]* This is part of the and [[Internal_ServerOrbital]](in Lamp mode) Git Repo: https://git.fixme.ch/FIXME/ctrl * git clone git@git.fixme.ch:FIXME/ctrl.git
* It uses the [https://github.com/fixme-lausanne/Twitter-Hackerspace-Status twitter.pl and spaceapi.py scripts] to retrieve the status and to change it, using javascript and XMLHttpRequest
* It controls the LEDs over HTTP using
* It 's deployed in [[Kubernetes]], the image is built locally. == How to push changes == <pre>$ ssh ubuntu@k8s.fixme.ch # Update the local repositorycd ~/ctrlgit pull # Build the docker imagesudo docker build -t trigger . # Killthe pod and watch it come backkubectl delete --namespace ctrl pod/trigger-579d7dd765-krfvkkubectl get --namespace=ctrl pods</pre> == Archives ==* It was deployed using a [[Gitolite#Deploy|gitolite hook]]* This was part of the [[Internal_Server]]
290
edits