From 2ca4eeb823bcb20b17a549db6e89b5ace1b2a72c Mon Sep 17 00:00:00 2001 From: bastoscorp <70770115+bastoscorp@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:53:15 +0200 Subject: [PATCH] create manual install script --- README.md | 10 ++++++++-- install_pvAlert_manual.sh | 11 +++++++++++ install_pvAlert.sh => install_pvAlert_with_git.sh | 0 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100755 install_pvAlert_manual.sh rename install_pvAlert.sh => install_pvAlert_with_git.sh (100%) 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