From d0ce33fde1ec3c1d442999e03a70f998d5075314 Mon Sep 17 00:00:00 2001 From: spla Date: Sun, 14 Aug 2022 20:18:33 +0200 Subject: [PATCH] New endpoint admin.sign_up avoids using database at all --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d975649..f3d505a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Welcome -This bot welcomes your Mastodon server new users and post registering evolution hourly, daily and weekly. +This bot welcomes your Mastodon server new users. ### Dependencies @@ -14,10 +14,8 @@ Within Python Virtual Environment: 1. Run `pip install -r requirements.txt` to install needed libraries. -2. Run `python db-setup.py` to setup and create new Postgresql database and needed tables in it. +2. Run `python setup.py` to get your bot's access token of your Mastodon server existing account. It will be saved to 'secrets/secrets.txt' for further use. -3. Run `python setup.py` to get your bot's access token of your Mastodon server existing account. It will be saved to 'secrets/secrets.txt' for further use. +3. Run `python welcome.py` to check if any new users and greet them. -4. Run `python welcome.py` to check if any new users and greet them and what is the registering evolution (hourly, daily, weekly). - -5. Use your favourite scheduling method to set `python welcome.py` to run every hour. +4. Use your favourite scheduling method to set `python welcome.py` to run every hour.