-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployment script for ubuntu 20.04/22.04 based instances
- Loading branch information
1 parent
2398f42
commit ebfbe79
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 /ihmv/cache --force -h |