Include basic installation instructions.

Also update script name.
This commit is contained in:
mattbk
2017-07-24 16:36:14 -05:00
committed by GitHub
parent e35c4b40d7
commit da13bf084a

View File

@ -2,6 +2,12 @@
Written in python with the aid of markovify and python-twitter. Written in python with the aid of markovify and python-twitter.
## Install
`python setup.py install`
## Use
Put your API keys in a file (e.g. .api-keys-trump) like so: Put your API keys in a file (e.g. .api-keys-trump) like so:
``` ```
@ -14,7 +20,7 @@ tok-sec: SECRET_TOKEN
Then run: Then run:
``` ```
python markov.py PATH_TO_API_KEYS --text PATH_TO_CORPUS.txt python bin/markovbot.py PATH_TO_API_KEYS --text PATH_TO_CORPUS.txt
``` ```
to send one tweet at a time. to send one tweet at a time.