diff --git a/README.md b/README.md index 2b3ade7..3e2a88b 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,15 @@ Note : I prefer to precise that an **internet connection is required.** ## Installation : -Very simple, execute this : +Very simple, if you have git installed on your target execute this : -`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bastoscorp/pvAlert/main/install_pvAlert.sh)"` +`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bastoscorp/pvAlert/main/install_pvAlert_with_git.sh)"` + +If you don't have git installed on your target do this: + +1. Download latest tag : https://github.com/bastoscorp/pvAlert/tags +2. Uncompress it into pvAlert folder +3. Run install_pvAlert_manual.sh ## Configuration : diff --git a/install_pvAlert_manual.sh b/install_pvAlert_manual.sh new file mode 100755 index 0000000..3c4ae4c --- /dev/null +++ b/install_pvAlert_manual.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +python3 -m venv ../pvAlert + +source bin/activate + +pip install -r requirements.txt + +deactivate + + diff --git a/install_pvAlert.sh b/install_pvAlert_with_git.sh similarity index 100% rename from install_pvAlert.sh rename to install_pvAlert_with_git.sh