INSTALL

installation of WebSight Directory System (WDS) is quite easy, but it is recommended that you read the following information.

SYSTEM REQUIREMENTS

For WDS to work properly, make sure you have the following installed:

- a webserver (for instance apache: http://httpd.apache.org)
- mySQL (http://www.mysql.org)
- php (http://www.php.net)

This version of WDS has been developed and tested on:
- a P4 2Ghz Windows XP computer, using php 4.2.3, Apache/1.3.24 and MySQL 3.23.53

INSTALLATION PROCESS

- make sure your php-enabled webserver is running, and that mysql is running
- make sure the config.php file is writable by the webserver (chmod 777). If you can't make your config.php writable, skip the last step of the installation script and see CONFIG.PHP NOT WRITABLE later in this file.
- edit the files in the templates/ directory. these are the templates in which the layout of your installation of WDS is based. more information on how to edit these files can be found in docs/templates.txt
- copy all files into the directory where you want WDS to run. copying this docs/ directory is optional
- run http://(YOURSERVERNAME)/(WSDIR)/install.php ... complete the form there with the information requested and press the 'Install Database' button. You should see messages telling you the database installed correctly. If you get any errors, either try changing the information in the form or contact me. Now press the 'Continue Installation' button to write the config.php file (if you cant set your config.php to writable, read CONFIG.PHP NOT WRITABLE later in this document). After installation, it is wise to delete the install.php file as it is not needed anymore. It should not be able to do any damage, but it's better to be safe than sorry. Also, MAKE SURE TO CHANGE THE WRITE-RIGHTS ON CONFIG.PHP BACK TO NORMAL.
- now open http://(YOURSERVERNAME)/(WDSDIR)/index.php ... you should see the basic WDS running.
- go to http://(YOURSERVERNAME)/(WDSDIR)/administration and log in using username WebSight and password admin.
- create a new admin user for yourself, and delete the user WebSight, to make sure your installation is secure.

now, everything should be up and running

FILLING IT UP!

Now, all that is left is to fill up the database with the right categories and links. You can remove the standard categories and links in the admin. Filling the database is done on the front-end of the site, then you will need to approve every link and category in your administration section. GOOD LUCK!

CONFIG.PHP NOT WRITABLE

If you can not set your config.php file to writable for the installation, then copy the config.php from the docs/ directory into the root of your WDS installation, open it, and change SERVER, USERNAME, PASSWORD, DATABASE, and PREFIX to the right values for your installation.