crazy-toads.github.io/script/README.md

25 lines
756 B
Markdown
Raw Permalink Normal View History

2019-06-09 13:08:42 +00:00
# installation
2019-06-02 19:11:24 +00:00
## pre-requis
Il faut Python 3 & pip car le code est fait en python.
## Installation
Il faut lancer la commande pour avoir les dependences nécessaires :
2019-06-05 07:57:38 +00:00
pip install -r ./requirements.txt
2019-06-02 19:11:24 +00:00
Il faut créer un fichier dev_config.py avec ses infos de connection au Rocket.chat
rocket = {
'user' : 'username',
'password': 'pwd'
}
2019-06-09 13:08:42 +00:00
# Get Channels
Permet de générer les infos pour la page
https://crapaud-fou.org/channelslist/
## Lancer
2019-06-02 19:11:24 +00:00
python getchannels.py
2019-06-09 13:08:42 +00:00
## Commit
Des fichiers seront créé
* [../public/data/channelslist.json](../public/data/channelslist.json)
* [../public/data/cohortescolor.json](../public/data/cohortescolor.json)
2019-09-10 18:28:17 +00:00
* [../public/data/cohorteslist.json](../public/data/cohorteslist.json)