From da13bf084a572fd887088966bc0ff77c3f30274a Mon Sep 17 00:00:00 2001 From: mattbk Date: Mon, 24 Jul 2017 16:36:14 -0500 Subject: [PATCH] Include basic installation instructions. Also update script name. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f94a644..69098ca 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ 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: ``` @@ -14,7 +20,7 @@ tok-sec: SECRET_TOKEN 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.