Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 855 Bytes

README.md

File metadata and controls

51 lines (36 loc) · 855 Bytes

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