Skip to content

Commit 7ce08a8

Browse files
Added images download to readme
1 parent 240c77d commit 7ce08a8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,17 @@ sudo docker run -d -P --name iipimages -v /home/iipsrv/data:/var/www/localhost/i
4343

4444
The above means that the host directory `/home/iipsrv/data` will be mapped to the directory within the container for image store.
4545

46+
47+
### Images
48+
49+
Download the images into your mapped host images directory, e.g. `/home/iipsrv/data`.
50+
4651
```bash
47-
&& cd /var/www/localhost/images/ \
48-
&& wget http://iiif-test.stanford.edu/67352ccc-d1b0-11e1-89ae-279075081939.jp2 \
49-
&& chmod 777 67352ccc-d1b0-11e1-89ae-279075081939.jp2 \
50-
&& wget http://merovingio.c2rmf.cnrs.fr/iipimage/PalaisDuLouvre.tif \
51-
&& chmod 777 PalaisDuLouvre.tif \
52+
cd <your host images directory>
53+
wget http://iiif-test.stanford.edu/67352ccc-d1b0-11e1-89ae-279075081939.jp2
54+
chmod 777 67352ccc-d1b0-11e1-89ae-279075081939.jp2
55+
wget http://merovingio.c2rmf.cnrs.fr/iipimage/PalaisDuLouvre.tif
56+
chmod 777 PalaisDuLouvre.tif
5257
```
5358

5459
### Start the container
@@ -58,10 +63,6 @@ Defaults to `latest` tag.
5863

5964
This will push the docker container port 80 to your localhost port 80. Change the first parameter to 8080 if required (i.e. you already have a webserver running on your local machine).
6065

61-
### Images
62-
63-
The Dockerfile creates a `/var/www/localhost/images/` directory and downloads a test JPEG2000 from http://iiif-test.stanford.edu/67352ccc-d1b0-11e1-89ae-279075081939.jp2 and a test TIF from http://merovingio.c2rmf.cnrs.fr/iipimage/PalaisDuLouvre.tif.
64-
6566
### Test
6667

6768
Point your browser to `http://localhost/fcgi-bin/iipsrv.fcgi?IIIF=67352ccc-d1b0-11e1-89ae-279075081939.jp2/full/full/0/default.jpg`

0 commit comments

Comments
 (0)