logo





GradeBook released!
Oct, 2008
Solstice adds a grade book to its toolkit!

New Versions!
April, 2008
A new version of all our software is available!

CommonView Released
April, 2008
Check out our latest collaborative tool.

RESTful Web Services
Jan, 2008
Solstice provides support for RESTful development.

FileManager

Manage files on local or remote filesystems.

FileManager allows users to view and manage files. A local filesystem implementation is included by default.

Dependencies

Solstice - Solstice is a Web application development framework for Perl. Based on the MVC programming paradigm, it provides a sensible layout for Web applications that helps you write applications faster and with fewer mistakes.
ThemePark - Themepark is where you can find themes or skins to change the look and feel of Solstice applications.

Installation

After following direction at Installing Solstice, you're ready to install FileManager. As with Solstice, you have the option to install from a tar file, or from subversion.

Installing Perl Prerequisites

FileManager uses IPC::Run to manage it's filesystem interactions. You can install this package with the following commands:

sudo cpan

cpan> install IPC::Run

Downloading Tar Files

cd solstice_apps

Download the current FileManager tarball from http://solstice.eplt.washington.edu/download/FileManager-current.tar.gz

tar -xvzf FileManager-current.tar.gz

Using Subversion

cd solstice_apps
svn co https://solstice.eplt.washington.edu/svn/filemanager/trunk/ filemanager

Configuring FileManager

cd filemanager
cp example_config.xml config.xml

In the <keys> section, the following can be changed:

  • help_url: the base url for help documentation

There are also paths to a number of system utilities, which may need to be changed depending on your system configuration.

Create the FileManager database

mysql -u solstice -p

mysql> create database filemanager;
mysql -u solstice -p filemanager < install/app.sql

Enabling Filesystems

FileManager comes with a demo file system, though it's designed to be easily extensible. For full directions on how to create a new filesystem for FileManager to use, please see Creating New FileSystems.

To enable the demo filesystem, edit the following keys to the <keys> section of your config.xml:

<key name="filesys_root">/tmp/filesys/</key>
<key name="filesys_quota">1000000</key>

where filesys_root is where the filesystem will live, and filesys_quota controls how much space each user will have access to.

The filesys_root must be in a location that's readable and writable by the web server, and should definitely not live on /tmp (unless you're ok with your files going away after a reboot).

The filesys_quota is measured in bytes.

To enable this filesystem, run the following:

mysql -u solstice -p filemanager

mysql> INSERT INTO `FileSystem` VALUES (NULL,0,'Demo Filesystem',
'A default local filesystem with a very low quota',
'FileManager::Implementation::FileSys::FileSystem',1);

Restart Apache

sudo /etc/init.d/apache2 restart

Sources

Browse the sources online

SVN Checkouts

Please note that our SVN servers only accept SSL connections - don't forget that https://!

Tarballs