Skip to content
Mark Jordan edited this page Jul 25, 2017 · 15 revisions

Where to install MIK

MIK does not need to be installed on the same server that Islandora is running on. However, it does need to be installed on a desktop, laptop, or server that can access the content that is being prepared for ingestion into Islandora (e.g., master TIFFs for pages of newspapers being loaded into Islandora). Also, since MIK's output is the input to Islandora Batch, Islandora Newspaper Batch, and Islandora Book Batch, it is useful to be able to write that output directly to disk space that Islandora can access. If MIK is installed on a computer that cannot write output to disk space that Islandora can access, you will need to copy MIK's output to a location where the Drush commands for the batch ingest modules can access it.

MIK does not require that you use Drush to ingest content into Islandora. However, if you intend to batch ingest content using a zip file, you will need to zip up MIK's output yourself. MIK doesn't do that for you.

Requirements

MIK can be installed on any computer that has the PHP 5.5.0 (or higher) command-line interface (CLI) installed. All other dependencies are installed using Composer, as described below. MIK does not require a web server or PHP's web server integration modules to be installed.

Installation on Linux/OS X

  1. Get MIK using one of the following methods:
    • Clone this git repo: git clone https://github.com/MarcusBarnes/mik.git
    • Download the current master zip file and unzip it
    • Download one of the release .zip/.tar.gz files, and unzip it
  2. Change into the resulting directory and install Composer by running the following command: curl -sS https://getcomposer.org/installer | php
  3. Run the following command: php composer.phar install
  4. MIK is now ready to use.

Installation on Windows

  1. Install PHP and ensure that you can run php -v from a command prompt (you will need to adjust your PATH so it can find php.exe).
  2. Make sure the required extensions are enabled by adding these lines to your php.ini:
extension_dir = "ext"
extension=php_openssl.dll
extension=php_mbstring.dll
  1. Clone this git repo (or download the zip if you don't have git).
  2. Install composer using "Composer-Setup.exe" linked from the Composer website.
  3. In the mik directory, run composer install
  4. MIK is now ready to use.
Clone this wiki locally