-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
25 lines (19 loc) · 827 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
#!/bin/bash
echo "****************************************"
echo " Setting up bx Environment"
echo "****************************************"
echo "Updating package manager..."
sudo add-apt-repository -y ppa:deadsnakes/ppa
echo "Installing Python 3.8 and Virtual Environment"
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3.8 python3.8-venv
echo "Creating a Python virtual environment"
python3.8 -m venv bxenv
echo "Checking the Python version..."
python3 --version
echo "Installing Python depenencies..."
source bxenv/bin/activate && python3 -m pip install --upgrade pip wheel
source bxenv/bin/activate && pip install -r ./brandxpert/requirements.txt
echo "****************************************"
echo " Bx Environment Setup Complete"
echo "****************************************"