Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
evenements:log:20200606 [2020-06-06 22:30] – [Log] letsencrypt doc… to be continued Lomanic | evenements:log:20200606 [2020-10-17 19:15] – [Log] minor change to systemd unit Lomanic |
---|
====== Online Fuzturday #1 ====== | ====== Online Fuzturday #1 ====== |
| |
First proposal of a [[https://matrix.to/#/#telemake:matrix.fuz.re|Telemake]] event, the theme for this one is to migrate https://presence-button.glitch.me to sonic (at https://presence.fuz.re). Event will take place 2020-06-06 15:00 (approx) Paris time, on Jitsi meet https://talk.fdn.fr/onlinefuzturday1 | First proposal of a [[https://matrix.to/#/#telemake:matrix.fuz.re|Telemake]] event, the theme for this one is to migrate [[projets:fuz:presence button]]'s API from https://presence-button.glitch.me to sonic (at https://presence.fuz.re). Event will take place 2020-06-06 15:00 (approx) Paris time, on Jitsi meet https://talk.fdn.fr/onlinefuzturday1 |
===== Proposed plan ===== | ===== Proposed plan ===== |
| |
* ''sudo adduser presence'' | * ''sudo adduser presence'' |
* ''<nowiki>sudo -u presence -i; curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash; nvm install node --lts</nowiki>'' | * ''<nowiki>sudo -u presence -i; curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash; nvm install node --lts</nowiki>'' |
* ''<nowiki>git clone https://git.interhacker.space/Lomanic/presence-button-web</nowiki>'', add .env file and append ''echo "PORT=3000" >> .env'', otherwise the listening port would be dynamic (useless for reverse proxy) | * ''<nowiki>git clone https://git.interhacker.space/Lomanic/presence-button-web</nowiki>'', add .env file and append ''<nowiki>echo "PORT=3000" >> .env</nowiki>'', otherwise the listening port would be dynamic (useless for reverse proxy) |
* following https://doc.ubuntu-fr.org/creer_un_service_avec_systemd#exemple_de_service_de_type_simple <code> | * following https://doc.ubuntu-fr.org/creer_un_service_avec_systemd#exemple_de_service_de_type_simple <code> |
cat << EOF > /etc/systemd/system/presence-button-web.service | sudo cat << EOF > /etc/systemd/system/presence-button-web.service |
[Unit] | [Unit] |
Description=Presence button web | Description=Presence button web |
After=network-online.target | After=network-online.target |