This is the web portal for squasher = Requirements You need apache, php, mysql, php-myql, smarty = Database setup Copy the file config.php.example into config.php Create a database and a user. ``` CREATE DATABASE squasher; GRANT ALL ON squasher.* TO 'squasher'@'localhost' IDENTIFIED BY 'mypassword'; FLUSH PRIVILEGES; ``` Update database information within config.php. Populate the database with squasher.sql: mysql -u squasher -h localhost -D squasher -p < squasher.sql You will get a user "squasher" with password "squasher". Change it as soon as the web application is running. Don't forget. = Web setup Create a webpage pointing at webroot/ at your httpd configuration = Temporary files Create a file config.php (using config.php.example as a base): templates_c is a directory for compiled templates, and cache is... a cache. Both these directories must be *writable by the web daemon* One possibility is: ``` mkdir -p /var/cache/squasher mkdir -m 775 /var/cache/squasher/templates_c chown root:www-data /var/cache/squasher/templates_c mkdir -m 775 /var/cache/squasher/cache chown root:www-data /var/cache/squasher/cache ``` and put these directories in config.php = Uploads directory This is where your files fragments get. This folder needs to be writable by both the ftp server and by php. Php will use umask 002 to ensure g+w mode is kept. You can change the location in config.php