eimis-ans / eimis-bridge-poc

POC of a matrix bridge that should fullfil the EIMIS requirements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eimis-bridge-poc

POC of a matrix bridge that should fullfil the EIMIS requirements

Prerequisites

  • Node, npm, docker, docker-compose installed
  • Edit your /etc/hosts to add 127.0.0.1 bridge.local

Build

npm build

Synapse server

Start your Synapse instance with docker-compose

Generate app service file

npm run generate -- -u http://bridge.local:9000

copy or link generated file to your Synapse config

cd synapse/mx-conf
ln -s ../../eimis-registration.yaml eimis-registration.yaml

Edit synapse configuration

echo "\
app_service_config_files:\n\
  - /mx-conf/eimis-registration.yaml\
" >> synapse/mx-conf/homeserver.yaml

and restart synapse

cd synapse/mx-conf
docker-compose down && docker-compose up -d

Start

npm run start

About

POC of a matrix bridge that should fullfil the EIMIS requirements

License:MIT License


Languages

Language:TypeScript 91.0%Language:Dockerfile 5.1%Language:Shell 4.0%