portail/scripts/generate.sh

13 lines
244 B
Bash
Raw Normal View History

2019-08-17 00:37:23 +00:00
#!/bin/sh
2019-08-20 09:47:39 +00:00
pip3 install -r ./scripts/requirements.txt
2019-08-17 00:37:23 +00:00
# idees
2019-08-20 09:47:39 +00:00
wget -0 ./site/data/idees.json https://idees.crapaud-fou.org/stats.php
2019-08-17 00:37:23 +00:00
# chat
python3 ./scripts/generate_chat_info.py
2019-08-17 00:37:23 +00:00
# wiki
2019-08-19 16:15:43 +00:00
cp ./site/data/wiki.sample.json ./site/data/wiki.json