This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
MatterBot/README.md

21 lines
593 B
Markdown
Raw Normal View History

2021-12-03 10:29:32 +01:00
# matter_bot
2021-12-03 10:29:32 +01:00
## Pré-requis
`openssl` requis par [`mattermost_api`](https://github.com/Celeo/mattermost_api)
2021-12-10 16:50:20 +01:00
```bash
sudo apt install libssl-dev
```
2021-12-21 09:24:32 +01:00
`.env` placé dans la racine du projet qui contient le token et l'URL, exemple :
2021-12-03 10:29:32 +01:00
```
2021-12-21 09:24:32 +01:00
TOKEN_MATTERMOST=votre_token_ici
MATTERMOST_INSTANCE_URL=url_du_site_ici, ex: https://talk.up8.edu
2021-12-03 10:48:11 +01:00
```
2021-12-21 09:26:03 +01:00
2021-12-21 09:34:43 +01:00
---
### Sources
[Documentation `mattermost_api`](https://docs.rs/mattermost_api/0.1.0/mattermost_api/)
2021-12-21 09:26:03 +01:00
---
*Projet ne fonctionne pas, et a peu de chance d'aboutir car le mattermost de la fac se connecte via Gitlab et aucune librarie ne supporte ceci.*