-
Notifications
You must be signed in to change notification settings - Fork 17
Installing Open Labyrinth
Sergey Rud edited this page Aug 29, 2016
·
14 revisions
- 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.
- 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. - Unzip the archive.
- Copy whole project folder to your server. So on a typical LAMP box, this would be at
/var/www/
- Set server's document root to
/var/www/Open-Labyrinth/www
- 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/
- 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
- Install Composer (https://getcomposer.org). When Composer has been installed, run
composer install
in the root directory of the project (/var/www/Open-Labyrinth/
). - Run
php vendor/bin/phinx migrate
in the same directory.
- If you have some issues with files permissions during installation then read this page: How do I make files and folders writable for the web server?
- If you have 404 error after installation then read this page: After installation I try to login but I get 404 error