From 0f16738f0301de451e136b0bc07f186cb4eeeff3 Mon Sep 17 00:00:00 2001 From: spla Date: Sat, 21 Mar 2020 20:19:02 +0100 Subject: [PATCH] Updated README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9894271..9c6614d 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,13 @@ Publish to Mastodon's server the rss feed of your choice. Within Python Virtual Environment: -1. Run 'db-setup.py' to create needed database and table. It's needed to control what feeds are already published. +1. Run 'python db-setup.py' to create needed database and table. It's needed to control what feeds are already published. db-setup.py -2. Run 'setup.py' to get your bot's access token of an existing user. It will be saved to 'secrets/secrets.txt' for further use. +2. Run 'python setup.py' to get your bot's access token of an existing user. It will be saved to 'secrets/secrets.txt' for further use. -3. Run 'mastofeeds.py' to start publishing feeds. +3. Run 'python mastofeeds.py' to start publishing feeds. + +4. Use your favourite scheduling method to set mastofeeds.py to run regularly. Note: install all needed packages with 'pip install package' or use 'pip install -r requirements.txt' to install them.