Skip to content
Dave Tosh edited this page Feb 9, 2014 · 6 revisions

Learning Locker requires PHP 5.4+ with the MongoDB extension, MongoDB, Composer and Apache.

Components

Once Learning Locker is publicly available, install will happen via composer. To do this we need to register a package on https://packagist.org/

Steps

  1. Install and set up MongoDB
  2. Grab a version of LL and unpack into your directory
  3. Open a terminal window, move into the directory where you are installing Learning Locker and run composer.phar install
  4. Once step 3 is complete, put your db details into app/config/database.php on line 86 under mongodb
  5. Set up email notification in app/config/mail.php (if you do not want to set up email, change 'pretend' to true in app/config/mail.php)
  6. Set your domain url in app/config/app.php
  7. Go to yoursite/register and create the first user (which will be super admin).
  8. When registration is complete, you will be logged in. Next, select 'settings' to visit Overall settings and click on 'edit' - here you can give you install a name and description as well as set a few options for the install.

You are now ready to start using Learning Locker.

Note: before you move to a production environment you need to generate an Encryption Key that goes in app/config/app.php line 68.

Install options

You can change various settings such as debug mode, default language and timezone in app/config/app.php

Troubleshooting

  1. If you don't set up email (see step 5), you will need to verify email addresses manually. To do this, select the 'Users' menu option on the main dashboard, you will then see a list of users in the system each with an option to manually verify.
  2. If running xampp and depending on your set up, may need to append public to your site URL e.g. yoursite.com/public/

Clone this wiki locally