-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeploy.sh
executable file
·29 lines (21 loc) · 1.02 KB
/
deploy.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
#!/bin/bash
apt update -y
apt install -y wget git
# Download prebuilt singularity package for Ubuntu 20.04
wget https://salilab.org/~arthur/ihmv/packages/singularity_3.8.4-2_amd64.deb
# backup link
# wget https://vsb.fbb.msu.ru/share/aozalevsky/pdb_dev/ihmv/packages/singularity_3.8.4-2_amd64.deb
# Install singularity
apt install -yf ./singularity_3.8.4-2_amd64.deb
# Remove deb
rm ./singularity_3.8.4-2_amd64.deb
# Download precompiled singularity image
wget https://salilab.org/~arthur/ihmv/prebuilt_containers/ihmv_20231222.sif
# backup link
# wget https://vsb.fbb.msu.ru/share/aozalevsky/pdb_dev/ihmv/prebuilt_images/ihmv_20231222.sif
# Clone code
git clone --branch dev_2.0 https://github.com/salilab/IHMValidation.git
# Create dirs
mkdir -p input output cache
# Test installation
singularity exec --pid --bind IHMValidation/:/opt/IHMValidation,input:/ihmv/input,output:/ihmv/output,cache:/ihmv/cache ihmv_20231222.sif /opt/IHMValidation/ihm_validation/ihm_validator.py --output-root /ihmv/output --cache-root /ihmv/cache --force -h