- PHP (tested on PHP 5.3)
- MySQL
- Apache
- CAS authentication
- If your organization uses a different login system, you will need to modify
application/controllers/login.php
- If your organization uses a different login system, you will need to modify
- Copy the files on to a folder on a LAMP (Linix - Apache - Mysql - PHP)
- Create a database, and populate it using the
install.sql
file - Make sure the
temp
folder is writable by the web user - Configure the application by modifying files in the
application/config/
folder- Remove the
.sample
suffix from all files cas.php
,database.php
, &email.php
should be a straight forward configurationconfig.php
- Change the
$config['base_url']
to the base web URL of your installation - Change the
$config['encryption_key']
to something unique - Nothing else will need to be changed
- Change the
constants.php
USER_AGENT
- What other servers will see when connecting to external web servicesSITE_TITLE
- Title of the booking system used for mobile interfaceSITE_LOGO
- Image for the header in the mobile interfaceDEFAULT_TEMPLATE
- Template to be used if user has no roles (and hence, not permitted to use the system)DEFAULT_POLICY_URL
- Policy url to be used if user has no roles (and hence, not permitted to use the system)DEBUG_MODE
- Used for troubleshooting (adding the GET request variabledebug
will show debugging information). Recommended to leave set toFALSE
REPLY_EMAIL
- Used as the FROM address when the system sends out emailsCONTACT_EMAIL
- Email to be used on mobile templateCONTACT_PHONE
- Telephone number to be used on mobile templateSITE_ADMIN
- Email contact of site administratorUSE_EXTERNAL_HOURS
- Used to pull building hours from external system. Recommended to be set toFALSE
EXTERNAL_HOURS_URL
- URL to use ifUSE_EXTERNAL_HOURS
is set theTRUE
USE_LIBSTAFF_LIST
- Used to pull in an external list of Library staff. Recommended to be set toFALSE
LIBSTAFF_URL
- URL used whenUSE_LIBSTAFF_LIST
is set toTRUE
EMAIL_SUFFIX
- When sending emails to users, append this email suffix to generate their email addressUSE_ACCESS_CENTRE_LIST
- Used to pull a user attribuite from an external system. Recommended to be set toFALSE
RMS_USERNAME
- Username used to authenticate against webservice whenUSE_ACCESS_CENTRE_LIST
is set toTRUE
RMS_PASSWORD
- Password used to authenticate against webservice whenUSE_ACCESS_CENTRE_LIST
is set toTRUE
RMS_SERVICE
- URL used to access webservice webservice whenUSE_ACCESS_CENTRE_LIST
is set toTRUE
MODERATION_TIME_DELAY
- Force users to book at least this far in the future for moderated rooms (seconds).TIME_DELAY
- Force users to book at least this far in the future for non-moderated rooms (seconds)SEND_MODERATION_ACTION_EMAIL
-TRUE
if a user will recieve an email notification when their moderated booking has been approved/denied.FALSE
for no notificationSEND_MODERATION_REQUEST_CONFIRMATION_EMAIL
-TRUE
if a user will recieve an email letting them know their booking is awaiting moderation.FALSE
otherwise
- Remove the
- Once configured, the you should be able to open the booking system in your brower. Open the page
<installed path>/admin
to begin configuration of the rooms - Select the "Manage Role Types" option to configure roles in the system. Roles are used to group users, and assign them various properties such as maximum hours per week
- For the "Login Attributes" field, this is compared against the "activeclasses" attribute provided by CAS via SAML. If an attribute matches, the authenticated user will be assigned that role for the duration of their session.
- Select the "Manage Buildings" option to create buildings
- Buildings are used as a containers for rooms. They get assigned opeing and closing times, which limits the availble booking times for all of its rooms. Users will also be able to filter by buildings
- The building hours can be set using the "Manage building hours" option (assuming that
EXTERNAL_HOURS_ADMIN
is set toFALSE
. This option will be hidden if set toTRUE
- Create room resources using the "Manage Room Resources" option. Room resources are properties that can be assigned to rooms. For example, you might want to create "LCD Screen" or "Whiteboard" as resources available in a room. If desired, these resources can also be filtered on by a person making a booking
- Create rooms using the "Manage Rooms" option.
- Be sure to select a role under "Bookable By" so that the desired users are able to see the room and make bookings
- For "User limit per day", this restricts the room based on the total number of hours a user has already made that day. For example, if a user has already has 3 hours of bookings on a given day, and this setting is limited to 2 hours, then the user will not be able to book this room as they would have exceeded their daily limit