-
Notifications
You must be signed in to change notification settings - Fork 19
Installation
Thomas Hufschmidt edited this page Nov 10, 2016
·
30 revisions
##Installation The following text contains a short installation guide and a few tips.
- Go to your ILIAS installation directory:
cd ${ILIAS_DIR}
- Create the plugin directory-structure as required by ILIAS:
mkdir -p Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST
- Change into the newly created directory tree:
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST
- Download and extract the latest Releases into this directory.
wget https://github.com/hrz-unimr/Ilias.RESTPlugin/archive/${RELEASE_VERSION}.zip
unzip ${RELEASE_VERSION}.zip
rm ${RELEASE_VERSION}.zip
- Make sure this directory is readable by the webserver (eg. owned by www-data)
chown -R www-data:www-data .
- [Optional] Create a writeable log-file for the RESTPlugin:
touch ${ILIAS_LOG_DIR}/restplugin-${ILIAS_CLIENT}.log
chmod 644 ${ILIAS_LOG_DIR}/restplugin-${ILIAS_CLIENT}.log
chown www-data:www-data ${ILIAS_LOG_DIR}/restplugin-${ILIAS_CLIENT}.log
- Update the database and activate the plugin by logging into ILIAS and navigating to:
- Administration > Plugins > REST (Actions) > Update
- Administration > Plugins > REST (Actions) > Activate
###Subdomain URL:
- Needs to be updated after refactoring changes
###Notes
- The variables ${ILIAS_DIR} and ${ILIAS_LOG_DIR} should point to your ILIAS installation directory (eg. /var/www/ilias) and the external logging directory set during ILIAS installation (eg. /var/log/ilias) respectively, while ${ILIAS_CLIENT} is the name of the/all ILIAS client(s) using the RESTPlugin.
- On a unix-like operating-systems make sure the ILIAS and the plugin directory is readable and the log-file is writeable by the webserver, eg.:
chown -R www-data:www-data ${ILIAS_DIR}/
chmod -R 755 ${ILIAS_LOG_DIR}/