Changes

Tweet-toot

177 bytes added, 19:55, 10 January 2020
/* code script bash */
[https://github.com/ayush-sharma/tweet-toot tweet-toot]
 
- Déployé sur fixme.ch et lancé depuis [https://github.com/fixme-lausanne/Twitter-Hackerspace-Status/blob/master/twitter.pl twitter.pl]
== Installation ==
"tweets.source_account_url": "https://twitter.com/_fixme",
"toots.host_instance": "https://tooting.ch",
"toots.app_secure_token": "cK2YcOkkAB7UGUPjd3JX4VJSX6EfvNdT2TIm1k0AOIccK2YcOkkAB7UGUPjd3JX4VJSX6?fvNdT2TIm1k0AO?c",
"toots.cache_path": "/tmp/"
}
python run.py
=== appel script ===
==== code script bash ====code
#! /usr/bin/bash  export VENV=$PROJET/home/pboizot/src/tweet-toot/venv  . $VENV/bin/activate DATEDAY=`date +"%j-%H-%M"` python run.py >>log/lastweet-${DATEDAY}.log cat log/lastweet-${DATEDAY}.log
appel depuis appli trigger...
Creation d'un log par toot
ControlGroup, administrator
4,237
edits