Skip to content

Installing Open Labyrinth

Sergey Rud edited this page Aug 29, 2016 · 14 revisions
  1. First you need a web server. We have been successful installing OpenLabyrinth onto a several types of web servers including WAMP, MAMP, XAMPP and plain old LAMP (Linux Apache MySQL PHP) boxes. We will describe the commonest vanilla LAMP setup here.
  2. To install Open Labyrinth you can download a Zip version or clone the Git repository: git clone [email protected]:olab/Open-Labyrinth.git. If you clone the repository then skip steps 2-3.
  3. Unzip the archive.
  4. Copy whole project folder to your server. So on a typical LAMP box, this would be at /var/www/
  5. Set server's document root to /var/www/Open-Labyrinth/www
  6. Make sure Open-Labyrinth folder is writable:
  • Run sudo chown -R apache:apache /var/www/Open-Labyrinth/. Please note that web server user and group can be 'www-data:www-data' instead of 'apache:apache' or any other. It depends on your configuration, but typically it's 'www-data'.
  • Run sudo chmod -R 0775 /var/www/Open-Labyrinth/
  1. Open in your web browser the URL on your server where this "www" folder is located and follow the steps of installation presented by the OpenLabyrinth installer routine. This will step you through the necessary checks, file permissions etc. Generally, you can just accept the default settings and it will work fine. Skip next steps if your version of Open-Labyrinth <= v3.4.x
  2. Install Composer (https://getcomposer.org). When Composer has been installed, run composer install in the root directory of the project (/var/www/Open-Labyrinth/).
  3. Run php vendor/bin/phinx migrate in the same directory.

Troubleshooting