-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·48 lines (36 loc) · 944 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
echo "Setting up the system..."
echo "System Update!"
sudo apt-get update
clear
echo -e "System Upgrade!"
sudo apt-get upgrade -y
clear
echo -e "Downloading files"
sudo apt install python3 -y
sudo apt install python3-pip -y
clear
echo -e "Files are huge...it might take few minutes. Sit back and relax!"
wget "https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux32.tar.gz"
tar -xf "geckodriver-v0.27.0-linux32.tar.gz"
mv ./geckodriver /usr/bin/
rm geckodriver-v0.27.0-linux32.tar.gz
sudo pip3 install selenium -y
sudo apt install git -y
sudo pip3 install -r requirements.txt
sudo pip3 install bs4 > /dev/null/ 2>&1
pip3 install sendgrid
pip install bs4
clear
echo -e "Almost Done!"
sudo apt install firefox -y > /dev/null 2>&1
touch announcement.txt
touch new-update.txt
clear
let x=4
for i in {1..3}
do
echo "$(( $x - $i ))"
sleep 1
done
echo "You're all set!"