Merge pull request #1 from mattbk/update-readme

Include basic installation instructions.
This commit is contained in:
mattbk
2017-07-24 16:36:49 -05:00
committed by GitHub

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.