-
Notifications
You must be signed in to change notification settings - Fork 17
Installing Open Labyrinth
jr-duboc edited this page Jun 19, 2012
·
14 revisions
- To install Open Labyrinth you can download a Zip version or clone the Git repository:
git clone [email protected]:olab/Open-Labyrinth.git
- 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.
- Edit the contents of your
www/application/config/database.php
file to reflect the correct database connection information. - 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
- Make sure that mod_rewrite is activated (or a mod-rewrite equivalent if you are not using apache)
- 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)
- 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.