Skip to content

Installing Open Labyrinth

jr-duboc edited this page Jun 19, 2012 · 14 revisions
  1. To install Open Labyrinth you can download a Zip version or clone the Git repository: git clone [email protected]:olab/Open-Labyrinth.git
  2. Once you have the source on your server (which requires PHP5.2+ and either MSSQL, MySQL, or SQLite3) ready the database server of your choice by reviewing and loading the desired schema from the database directory.
  3. Edit the contents of your www/application/config/database.php file to reflect the correct database connection information.
  4. Ensure the following directories are writable by PHP, this may mean (if PHP is being run as an Apache module) chmoding the directories to 777.
  • www/application/cache
  • www/application/logs
  1. Make sure that mod_rewrite is activated (or a mod-rewrite equivalent if you are not using apache)
  2. IF YOU INSTALLED OPENLAB IN A SUBFOLDER (see issue 54: https://github.com/olab/Open-Labyrinth/issues/54):
  • On line 83 of application/bootstrap.php, put the name of your subfolder in the Kohanna::init array: 'base_url' => '/your_subfolder',
  • In your .htaccess file, make sure that RewriteBase is set to your sublfolder (e.g. RewriteBase /your_subfolder)
  1. Visit Open Labyrinth in your web-browser (i.e. http://olab.yourschool.ca), and you should now be able to log in with the default username and password of admin / admin.