A tool to tweet speeches, of the late John Fitzgerald Kennedy, line by line, from 1942 - 1963.
2018NOV29
- updated 1946JUN16 speech
2018NOV28
-
added conf/YYYYMMMDD packages that describe a speech.
-
updated DETAILS.md
2018NOV20
-
testing cron working, 30 min interval.
-
added 1963NOV21.txt
-
add <source/1963NOV21-SanAntonio.txt>
-
corrections to <source/1963NOV21-Houston.txt>
-
ABOUT and README
-
added img/
-
added source/*.txt
-
title, isometric2, 120 char http://www.network-science.de/ascii/
-
partial source for 1963NOV21 speech.
2018NOV12
-
steps to build
a) download source file to source/ dir
b) build the config.json file
python3 config.py -f 'dest/ona.txt' -l 'Northanger Abbey' -s config.json -f supply path and filename to future destination file -l supply the label of the file converting -s name of output config file to be used
c) prepare text from source to destination
python3 prepare.py -i source/northangerabbey.txt -o dest/ona.txt -d grab the source file, parse the output and save to the destination file -i source text file, with editing out of gutenburg info. -o destination file output with shortened name. Name has to be same name used in -f option in the previous step. -d show the output
-
steps to deploy
a) require the following files to run northangerabbey.txt (as example)
* config.json * dest/ona.txt
b) delete the following files:
* log.txt (output of detailed debug information of tweeting, reading etc) * status.json (current status of tweeting, absolutely required for live tweets)
c) seed the stream
* check config settings for tweet.sh - is 'IS_PROD' set to TRUE for production machine, if not filepaths will fail. * assumption CRON is setup. (document this later) * ./tweet.sh
d) check tweet has been delivered
* verify tweet works on specified period.