Project

General

Profile

Task #8421

Updated by Nico Schottelius over 3 years ago

* https://github.com/turt2live/matrix-voyager-bot 

 h2. Steps 

 * Created VM 26036 
 * Added VM into DNS: matrix-voyager-bot.ungleich.ch 
 * Install packages 
 * Building the bot locally 
 * Created ldap customer "bonvoyage" 

 alpine try: 
 <pre> 
 apk add npm sqlite-dev 

 </pre> 

 ubuntu try: 

 <pre> 
 root@ubuntu:~# useradd -m bonvoyage 

 apt install git npm 
 </pre> 

 Getting the access token via curl: 

 <pre> 
 [17:31] bridge:~% curl -XPOST -d '{"type":"m.login.password", "user":"@bonvoyage:ungleich.ch", "password":"'$(pass ldap/bonvoyage)'"}' "https://ungleich.matrix.ungleich.cloud/_matrix/client/r0/login" 
 </pre> 

Back