Skip to content

Commit

Permalink
Deployment script for ubuntu 20.04/22.04 based instances
Browse files Browse the repository at this point in the history
  • Loading branch information
aozalevsky committed Feb 20, 2024
1 parent 2398f42 commit ebfbe79
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docker/deploy.sh
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

0 comments on commit ebfbe79

Please sign in to comment.