User Tools

Site Tools


evenements:log:20200606

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
evenements:log:20200606 [2020/06/07 00:30]
lomanic [Log] letsencrypt doc… to be continued
evenements:log:20200606 [2020/10/17 21:29] (current)
lomanic [Log]
Line 1: Line 1:
 ====== 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 =====
  
Line 23: Line 23:
   * ''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 +cat << EOF | sudo tee /etc/systemd/system/presence-button-web.service >/dev/null 
-[Unit]  +[Unit]
 Description=Presence button web Description=Presence button web
 After=network-online.target After=network-online.target
Line 43: Line 43:
 WantedBy=multi-user.target WantedBy=multi-user.target
 EOF EOF
-systemctl enable presence-button-web.service+sudo systemctl enable presence-button-web.service
 </code> </code>
   * add this to ''/etc/lighttpd/lighttpd.conf''<code>   * add this to ''/etc/lighttpd/lighttpd.conf''<code>
evenements/log/20200606.1591482649.txt.gz · Last modified: 2020/06/07 00:30 by lomanic