Skip to content

Commit 9117e90

Browse files
committed
update readme
1 parent 38686ac commit 9117e90

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
> [more about that name](https://finalfantasy.fandom.com/wiki/Honoroit_Banlardois)
44
5+
6+
<!-- vim-markdown-toc GFM -->
7+
8+
* [Features](#features)
9+
* [How it looks like](#how-it-looks-like)
10+
* [Step 1: a matrix user (customer) sends a message to Honoroit bot in direct 1:1 chat](#step-1-a-matrix-user-customer-sends-a-message-to-honoroit-bot-in-direct-11-chat)
11+
* [Step 2: a new thread created in the backoffice room](#step-2-a-new-thread-created-in-the-backoffice-room)
12+
* [Step 3: operator(-s) chat with customer in that thread](#step-3-operator-s-chat-with-customer-in-that-thread)
13+
* [Step 4: customer sees that like a direct 1:1 chat with honoroit user](#step-4-customer-sees-that-like-a-direct-11-chat-with-honoroit-user)
14+
* [Step 5: operator closes the request](#step-5-operator-closes-the-request)
15+
* [Step 6: customer receives special message and bot leaves the room](#step-6-customer-receives-special-message-and-bot-leaves-the-room)
16+
* [TODO](#todo)
17+
* [Commands](#commands)
18+
* [Configuration](#configuration)
19+
* [mandatory](#mandatory)
20+
* [optional](#optional)
21+
* [honoroit internals](#honoroit-internals)
22+
* [redmine](#redmine)
23+
* [Where to get](#where-to-get)
24+
* [etke.cc](#etkecc)
25+
* [Matrix Docker Ansible Deploy](#matrix-docker-ansible-deploy)
26+
* [Docker](#docker)
27+
* [Binary](#binary)
28+
* [Build from source](#build-from-source)
29+
30+
<!-- vim-markdown-toc -->
31+
532
A helpdesk bot, used as part of [etke.cc](https://etke.cc) service.
633

734
The main idea of that bot is to give you the same abilities as with website chats (like Intercom, jivosite, etc) inside the matrix.
@@ -108,3 +135,46 @@ Optional 2-way sync with redmine
108135
* **HONOROIT_REDMINE_DONESTATUSID** - redmine "done" status ID, e.g. `3`
109136

110137
You can find default values in [config/defaults.go](config/defaults.go)
138+
139+
## Where to get
140+
141+
### [etke.cc](https://etke.cc)
142+
143+
You can get a hosted version of the bot with a support and maintenance plan by the developers on [etke.cc](https://etke.cc)
144+
145+
### [Matrix Docker Ansible Deploy](https://github.com/spantaleev/matrix-docker-ansible-deploy)
146+
147+
You can get the bot using MDAD playbook, just [follow the docs](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-bot-honoroit.md)
148+
149+
### Docker
150+
151+
You can get the bot using docker image from [the registry](https://github.com/etkecc/honoroit/pkgs/container/honoroit)
152+
153+
```bash
154+
# 1. Get UID and GID of the system user you want to use to run the bot's container:
155+
# id
156+
# 2. Prepare the configuration in the env file (see Configuration section), alternatively you can use `docker --env` flags
157+
# 2. Run the bot using UID and GID from step 1:
158+
docker run --user YOUR_UID:YOUR_GID --env-file /YOUR_ENV_FILE ghcr.io/etkecc/honoroit:latest
159+
```
160+
161+
### Binary
162+
163+
You can get binary from [the releases page](https://github.com/etkecc/honoroit/releases):
164+
165+
```bash
166+
# 1. Prepare the configuration in the .env file (see Configuration section), alternatively you can use env vars
167+
# 2. Run the bot (it will load .env file in the current directory automatically)
168+
./honoroit
169+
```
170+
171+
### Build from source
172+
173+
```bash
174+
# 1. Clone the repo
175+
# 2. Prepare the configuration in the .env file (see Configuration section), alternatively you can use env vars
176+
# 3. (if `just` is installed)
177+
just build
178+
# or
179+
go build -ldflags '-extldflags "-static"' -tags timetzdata,goolm -v ./cmd/honoroit
180+
```

0 commit comments

Comments
 (0)