]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: release-estimator: add installation steps in README.md
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 13 Aug 2024 15:21:47 +0000 (17:21 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 13 Aug 2024 15:21:47 +0000 (17:21 +0200)
 Update the README.md with the dependencies and the installation steps
 with a python venv.

admin/release-estimator/README.md

index a51f731d3c0b6b27e8fa18f58933a1d3bdc5031b..e706dbf24b125d3b2baedad6589179502ee34616 100644 (file)
@@ -7,6 +7,21 @@ the queue.
 ## Requirements
   - Python 3.x
   - [lxml](https://lxml.de/installation.html)
+  - requests
+  - urllib3
+
+
+## Installation
+It can be easilly installed with venv from python3
+
+
+    $ python3 -m venv ~/.local/venvs/stable-bot/
+    $ source ~/.local/venvs/stable-bot/bin/activate
+    $ pip install -r requirements.txt
+
+And can be executed with:
+
+    $ ~/.local/venvs/stable-bot/bin/python release-estimator.py
 
 
 ## Usage