Last active
December 10, 2018 20:34
-
-
Save denis-yuen/18ca6e9fecba6ca69bcf09ad3930169c to your computer and use it in GitHub Desktop.
Test instructions
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
git clone https://github.com/denis-yuen/compose_tutorial.git | |
cd compose_tutorial/ | |
tmux | |
docker-compose up | |
<new terminal> | |
curl http://0.0.0.0:5000/ | |
<in original terminal> | |
<ctrl -c> | |
git checkout mount_example | |
docker-compose up | |
<second terminal> | |
curl http://0.0.0.0:5000/ | |
<edit app.py> | |
curl http://0.0.0.0:5000/ |
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
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update && sudo apt-get install -y oracle-java8-set-default | |
mkdir -p ~/bin | |
curl -L -o ~/bin/dockstore https://github.com/ga4gh/dockstore/releases/download/1.5.1/dockstore | |
chmod +x ~/bin/dockstore | |
echo 'export PATH=~/bin:$PATH' >> ~/.bashrc | |
source ~/.bashrc | |
mkdir -p ~/.dockstore | |
printf "token: fobar\nserver-url: https://dockstore.org:443/api\n" > ~/.dockstore/config | |
sudo apt install python-pip | |
curl -o requirements.txt "https://dockstore.org:443/api/metadata/runner_dependencies?client_version=1.5.1&python_version=2" | |
pip install -r requirements.txt | |
curl -sSL https://get.docker.com/ | sh | |
sudo usermod -aG docker ubuntu | |
# exit (and then re-enter) | |
docker --version | |
java -version | |
dockstore --version |
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
git clone https://github.com/CancerCollaboratory/dockstore-tool-bamstats.git | |
cd dockstore-tool-bamstats/ | |
dockstore tool launch --local-entry Dockstore.cwl --json test.json |
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
git clone https://github.com/CancerCollaboratory/dockstore-tool-bamstats.git | |
cd dockstore-tool-bamstats/ | |
dockstore tool launch --local-entry Dockstore.wdl --json test.wdl.json |
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
git clone https://github.com/CancerCollaboratory/dockstore-tool-bamstats.git | |
cd dockstore-tool-bamstats/ | |
docker build -t foo . | |
grep "dockerPull" Dockstore.cwl | |
docker build -t quay.io/collaboratory/dockstore-tool-bamstats:1.25-6_1.0 . | |
docker run -ti quay.io/collaboratory/dockstore-tool-bamstats:1.25-6_1.0 /bin/bash | |
java -jar /opt/BAMStats-1.25/BAMStats-1.25.jar --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment