Difference between revisions of "VT2020-Matrix-Demo"

From air
Jump to navigation Jump to search
Line 16: Line 16:
 
Maintenant, nous allons telecharger et installer Synapse :
 
Maintenant, nous allons telecharger et installer Synapse :
   
  +
<pre>
 
sudo apt install -y lsb-release wget apt-transport-https
 
sudo apt install -y lsb-release wget apt-transport-https
 
sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
 
sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
Line 22: Line 23:
 
sudo apt update
 
sudo apt update
 
sudo apt install matrix-synapse-py3
 
sudo apt install matrix-synapse-py3
  +
</pre>
   
 
=Bridge avec Discord=
 
=Bridge avec Discord=

Revision as of 18:31, 9 January 2021

L'objectif de cette démonstration est dans un premier temps vous expliquez comment mettre en place un serveur Synapse qui utilise le protocole Matrix, avant de visualiser un exemple de Bridge avec la plateforme Discord.

Serveur Synapse

Installation

Dans un premier temps, il est primordial d'avoir un nom de domaine accessible qui correspondra au nom de votre serveur Matrix. Dans notre cas, nous utiliserons une VM Azure afin d'en avoir un en plus que ce dernier soit hebergé.

Nous allons développer notre serveur Matrix sur une plateforme Debian/Ubuntu donc des prérequis sont nécessaires :

sudo apt-get install build-essential python3-dev libffi-dev \
                    python3-pip python3-setuptools sqlite3 \
                    libssl-dev virtualenv libjpeg-dev libxslt1-dev

Maintenant, nous allons telecharger et installer Synapse :

sudo apt install -y lsb-release wget apt-transport-https
sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main" |
    sudo tee /etc/apt/sources.list.d/matrix-org.list
sudo apt update
sudo apt install matrix-synapse-py3

Bridge avec Discord

VT2020