forked from LearningLocker/learninglocker
-
Notifications
You must be signed in to change notification settings - Fork 0
Installing
Dave Tosh edited this page Feb 9, 2014
·
6 revisions
Learning Locker requires PHP 5.4+ with the MongoDB extension, MongoDB, Composer and Apache.
- Composer (http://getcomposer.org/)
- MongoDB (http://mongodb.org)
- MongoDB php extension (http://www.php.net/manual/en/mongo.installation.php)
Once Learning Locker is publicly available, install will happen via composer. To do this we need to register a package on https://packagist.org/
- Install and set up MongoDB
- Grab a version of LL and unpack into your directory
- Open a terminal window, move into the directory where you are installing Learning Locker and run composer.phar install
- Once step 3 is complete, put your db details into app/config/database.php on line 86 under mongodb
- 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)
- Set your domain url in app/config/app.php
- Go to yoursite/register and create the first user (which will be super admin).
- 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.
You can change various settings such as debug mode, default language and timezone in app/config/app.php
- 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.
- If running xampp and depending on your set up, may need to append public to your site URL e.g. yoursite.com/public/