Installation

Step 1: make a checkout from the SVN

To check out a copy from the SVN, use an SVN client such as rapidSVN

Step 2: Upload files to server

Use your favorite FTP client to upload all the files to an installation directory, such as /desktop/ for example.
You also need to make sure you have the pear module 'MDB2'. If it is unavalable, psych desktop will attempt to use the version of MDB2 that ships with it.

Step 3: CHMOD files/folders

You will need to chmod the following files/folders to 777 in order to get the desktop working

  • /files/
  • /backend/config.php

Step 4: Create mySQL database and user

Create a mysql database and grant a user all user permissions to the database.

Step 5: Run installer

point your browser to /install.php and follow the directions on the page.

Step 6: Place login page on site

You can point your browser to /desktop/ or whatever your installation dir is, but we’ve included a way for you to put a desktop login box onto your page. Simpily create a div element where you want your login box. Give it an ID of ‘psychdesktop_login’ You can apply CSS formatting to this div. For example:

<div style="border: 1px solid black; background: #eeeeee; width: 280px;" id="psychdesktop_login"></div>

Then, include this script just before the </body> tag, replacing path/to/desktop with your installation dir. It is important that you do not move login.js from your installation dir, this will break the code.

<script type="text/javascript" src="/path/to/desktop/login.js"></script>