Holi Chat Server
Holi Chat Server is a Matrix Synapse chat server application that allows holi users to communicate with each other in real-time.
Installation:
To run Holi Chat Server locally, follow these steps:
- Clone the repository.
- Navigate to the project directory using a terminal or command prompt.
- Fill your .envrc.local file with the following information:
export HOLI_CHAT_ORY_CLIENT_ID=<from Passbolt>
export HOLI_CHAT_ORY_CLIENT_SECRET=<from Passbolt>
export HOLI_CHAT_REGISTRATION_SHARED_SECRET=<any random string>
export HOLI_CHAT_MACAROON_SECRET_KEY=<any random string>
export HOLI_CHAT_FORM_SECRET=<any random string>
- Run the configuration script by running the following command:
./generate-homeserver-config.sh
This will generate a default configuration file for your server.
- Add
local.chat.holi.social
entry to your/etc/hosts
file as follows:
127.0.0.1 local.chat.holi.social
- Start the server by running the following command:
docker-compose up -d
This will start the server in the background and you can access the application by navigating to https://local.chat.holi.social in your web browser.
You can run a local element web client like this:
docker run -p 81:80 vectorim/element-web
Since the chat server does use a self signed SSL certificate, you first need to open localhost:8448 and trust the cert. You can then open localhost:81 in your browser and change the server you want to connect to to local.chat.holi.social
.