23 lines
816 B
Bash
Executable File
23 lines
816 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Installing ITB tool..."
|
|
python3 -m venv /root/venvs/itb
|
|
/root/venvs/itb/bin/pip install -e /root/sia/tools/itb
|
|
/root/venvs/train/bin/ipython kernel install --name=itb
|
|
echo "PATH=\$PATH:/root/venvs/itb/bin" > /etc/profile.d/itb.sh
|
|
source /etc/profile.d/itb.sh
|
|
|
|
echo "Installing Train tool..."
|
|
python3 -m venv /root/venvs/train
|
|
/root/venvs/train/bin/pip install -e /root/sia/tools/train
|
|
/root/venvs/train/bin/ipython kernel install --name=train
|
|
echo "PATH=\$PATH:/root/venvs/train/bin" > /etc/profile.d/train.sh
|
|
source /etc/profile.d/train.sh
|
|
|
|
echo "Installing SIA core..."
|
|
python3 -m venv /root/venvs/sia
|
|
/root/venvs/sia/bin/pip install -e /root/sia
|
|
/root/venvs/train/bin/ipython kernel install --name=sia
|
|
echo "PATH=\$PATH:/root/venvs/sia/bin" > /etc/profile.d/sia.sh
|
|
source /etc/profile.d/sia.sh
|