From 9d46c77d0778a1be7c5e576bb8e98cd5ce8c8b67 Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Mon, 4 Nov 2024 00:33:41 +0000 Subject: [PATCH] Add setup instructions to README --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a2691a..890ec13 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,23 @@ This script scrapes the Warwick Accommodation page in order to update you whenev The page typically says (before it opens) that the applications are not yet open, thus, when this is no longer the case (or whenever the page changes at all, for extra caution), the script (the "sniper") can send out a message. -## Usage +# Setup +Go to a directory where you want to install the sniper, and do these commands: + ``` + git clone https://git.kovachev.xyz/kiril/WarwickAccomSniper + cd WarwickAccomSniper + python3 -m venv .venv + . .venv/bin/activate + pip install -r requirements.txt + ``` +After that, the setup should be ready and you should be able to run the scripts. + +# Usage The script is currently quite limited, but you can access it through the `cli_sniper.py` entry point. - `python cli_sniper.py` + +To wit: + ``` + python cli_sniper.py +``` It will only notify you via a terminal output at this stage. A Discord bot is in the works. \ No newline at end of file