Include basic installation instructions. #1

Merged
mattbk merged 1 commits from update-readme into master 2017-07-24 16:36:50 -05:00
Showing only changes of commit da13bf084a - Show all commits

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.