Installation
From ResourceSpace Documentation Wiki
- First check that your target system meets the requirements.
- Tweak your PHP.INI settings as follows: you will probably want to increase the size of the "memory_limit", "post_max_size" and "upload_max_filesize" variables in your system's php.ini file if you will be handling large files. These are set quite low by default. Also "short_open_tag" needs to be set to "On" otherwise the PHP files will not parse correctly. You should also increase the max execution time to allow for the completion of larger file transfers.
- Unzip the web file to an appropriate folder off your web root. The application is capable of running both in the web root folder or several levels deep within an existing folder structure.
- Create an empty database (ResourceSpace will automatically create database tables etc.)
- Open 'include/config.php' and set the values for your local system. The comments in the file describe each parameter. Set $mysql_db to the name of your new database.
- The 'filestore' folder must be writeable by the web server (either 'chmod 777 filestore' or chown/chgrp it to your web server's user/group).
- The system should now be up and running at the configured URL.
- Try 'check.php' first of all to make sure everything is configured correctly.
- The default admin login is "admin" password "admin".
Important: When in the system is in full use (i.e. when you go live) the file 'cron_copy_hitcount.php' should be set to execute once each night so the relevance matching works correctly. You can do this using a cron job which runs 'wget' and fetches the file's URL. This script copies the resource usage information collected during the day from the temporary columns into the live columns, and doesn't happen in real time because the resource/keyword usage counts are used to order resources when searching (this is how the relevance matching works), and if the counters updated instantly the resources would appear to jump around in your result set as you accessed them, as your own activity would be immediately affecting the search order.
A lot of the configuration (fields, user groups, etc.) can be configured within the Setup area of the Team Centre. The Team Centre itself is the admin area for the resources team and that's where the user management, reporting, and so on takes place.
The GD library (which is a minimum requirement) will provide automatic thumbnail for JPEG, GIF and PNG files. To add many more image and video file formats you can install ImageMagick and FFmpeg and set the paths to the binaries in config.php.
Developers
If you are a PHP developer you may be comfortable installing the latest development edition directly from Subversion. See the Subversion section for more details.
This version has the latest hooks which is useful if you plan on creating plugins to extend functionality. You can also easily update the software using 'svn update'.
