Skip to content

Commit 6776238

Browse files
Uploaded corrected and working installer.sh file
1 parent ec57e27 commit 6776238

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

installer.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
echo "Select appropriate menu item"
4+
echo "[1] Clone repository and install requirements"
5+
echo "[2] Only install requirements"
6+
read -p "Enter the number: " UserChoice
7+
8+
if [ "$UserChoice" == "1" ]; then
9+
echo "Cloning repository and installing requirements..."
10+
git clone https://github.com/OSINT-TECHNOLOGIES/dpulse
11+
cd dpulse
12+
pip install -r requirements.txt
13+
elif [ "$UserChoice" == "2" ]; then
14+
echo "Installing requirements..."
15+
pip install -r requirements.txt
16+
else
17+
echo "Incorrect choice."
18+
fi
19+
20+
echo "Installation end."

0 commit comments

Comments
 (0)