Skip to content
Snippets Groups Projects
Verified Commit c49bc738 authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: replace dummy script with existing test_docker.py

parent 5ca494db
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,8 @@ docker pull registry.scicore.unibas.ch/schwede/openstructure:latest ...@@ -39,8 +39,8 @@ docker pull registry.scicore.unibas.ch/schwede/openstructure:latest
And run a test script: And run a test script:
``` ```
echo print\(\"Hello OST\"\) > test.py wget https://git.scicore.unibas.ch/schwede/openstructure/-/raw/master/docker/test_docker.py -O test_ost.py
docker run --rm -v $(pwd):/home registry.scicore.unibas.ch/schwede/openstructure:latest test.py docker run --rm -v $(pwd):/home registry.scicore.unibas.ch/schwede/openstructure:latest test_ost.py
``` ```
### Singularity ### Singularity
...@@ -58,8 +58,8 @@ sudo singularity build ost.img Singularity ...@@ -58,8 +58,8 @@ sudo singularity build ost.img Singularity
And run a test script: And run a test script:
``` ```
echo print\(\"Hello OST\"\) > test.py wget https://git.scicore.unibas.ch/schwede/openstructure/-/raw/master/docker/test_docker.py -O test_ost.py
singularity run --app OST ost.img test.py singularity run --app OST ost.img test_ost.py
``` ```
### Build from source ### Build from source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment