SCRIPT needs some cleaning and parameterizations
A dockerized development instance Islandora, an open-source software framework designed to help institutions and organizations and their audiences collaboratively manage, and discover digital assets using a best-practices framework. Built on a base of Drupal, Fedora Commons, and Solr, Islandora releases solution packs which empower users to work with data types (such as image, video, and pdf) and knowledge domains (such as Chemistry and the Digital Humanities). Solution packs also often provide integration with additional viewers, editors, and data processing applications.
- Install Docker
- Change the docker init script (/etc/init.d/docker) to add an appropriate size image (default is only 10G):
/usr/bin/docker -d --exec-driver=lxc --selinux-enabled --storage-opt dm.basesize=50G
- Clone this repository
- Change into the source directory:
cd docker-islandora
- Build the container:
docker build -rm --tag=islandora .
- Run the docker container:
docker run -t -i -p 80:80 -p 8080:8080 islandora /bin/bash
- Run the installer/configuration script script:
./install.sh
- Browse to http://localhost
- Install the isladora modules from the web interface
- CTRL+P and CTRL+Q to exit the container shell
- View the running containers via
docker ps -a
- To get a back the docker container:
docker attach [CONTAINER ID]
- To commit the changes made to a container:
docker commit [CONTAINER ID] [SOME IMAGE NAME]
- To stop a running container:
docker stop [CONTAINER ID]
- To stop all running containers:
docker ps -a | grep '<none>' | awk '{print $1}' | xargs docker rm
- To delete all the docker images:
docker images | grep "<none>" | awk '{print $3}' | xargs docker rmi
- Choose Image Toolkit -> ImageMagick as image processing toolkit
- Specify the
convert
path:/usr/bin/convert
- Islandora -> Page Content Module -> djatoka URL: specify the correct url
- Islandora -> Solr index -> solr URL: specify the correct url