LetoDMS Community Forum
Quick installation instructions - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Tutorials & How To's (https://community.letodms.com/forumdisplay.php?fid=17)
+--- Thread: Quick installation instructions (/showthread.php?tid=103)



Quick installation instructions - matteo lucarelli - 07-16-2010

* Unpack all the files in a public web server folder

If you're working on a hosting machine your provider will indicate you where you should upload the files.

* Create a data folder somewhere in your web server

For security reason probably it should not be in the public folders.
The directory must have read/write permission for the web-server user.

* Create a new DB on your web server
* Create a new user for the DB with all permissions on the new DB
* Execute "create_tables.sql" in the new DB

This three steps depends on which DB interface you're using (whith phpMyAdmin is all very easy).

* Edit the inc/inc.Settings.php to match your preference and settings

At least $_rootDir, $_httpRoot, $_contentDir, $_ADOdbPath, $_dbHostname, $_dbDatabase, $_dbUser, $_dbPass must be edit.
Note that for the paths you probably need to ask to your provider because the absolute path on the server is not immediatly viewable in a hosted system.


Updating a previous installation - matteo lucarelli - 07-22-2010

- make a backup archive of your installation folder
- make a backup archive of your data folder
- dump your current DB in a backup SQL file

- extract the new letoDMS archive to your web server

- edit the inc/inc.Settings.php file to match your previous settings
you can replace the file with your previous one eventualy having a look
on the new one and adding by hand the missing new parameters

- login as administrator

-execute all the update.php script pointing your browser directly:
http://www.yoursite/path/to/dms/UPDATE-vX.X.X/update.php

Every script is required to update starting from a version previous than the one in the folder name. For example to update from a 1.7.1 to 1.8.3 you need to run UPDATE-v1.8.1/update.php. You must run ALL the required update.