INSTALL/UPGRADE

# netOffice Dwins versions are hosted by Sourceforge.net
http://netofficedwins.sourceforge.net


# Requirements
- Php 4.3.0 or greater (5.x or greater recommended)
- session support enabled
- file_uploads On
- MySQL or PostgreSQL(only for Unix/Linux)


# Installing (for first install)
- Extract in web document root directory, "/var/www/html" for example
- Make sure the following files/directories writable
  /administration/systeminfo.php
  /administration/updatesettings.php
  /installation/db_var.inc.php
  /installation/setup_db.php
  /installation/setup_settings.php
  /includes/library.php
  /includes/request.class.php
  /includes/settings.php
  /includes/jpgraph
  /files
  /logos_clients
- Create a new database "netoffice" or use existing database
- Start the setup at installation/setup.php
- Login at index.php


# Upgrading (for ver 2.5.3-pl1, 2.6.0b1, 2.6.0b2, Dwins-1.2.2)
- Backup previous netoffice installation (including webpages & db)
- Extract in one folder, "netoffice_source" for example
- Copy all files in netoffice_source/netoffice to previous netoffice install
  directory, `\cp -a netoffice_source/netoffice /var/www/html/netoffice` for
  example
- Make sure the following files/directories writable
  /administration/systeminfo.php
  /administration/updatesettings.php
  /installation/db_var.inc.php
  /installation/setup_db.php
  /installation/setup_settings.php
  /includes/library.php
  /includes/request.class.php
  /includes/settings.php
  /includes/jpgraph
  /files
  /logos_clients
- Start the upgrade at installation/upgrade.php
- Login at index.php


# To enable build-in reminders:
  + Unix/Linux: append scripts/crontab content to the apache user crontab
  + Windows:
    - define the following environment variables
      %NetofficeDir%    where netOffice installed, C:\wamp\www\netoffice for
                        example
      %PhpSpec%         full path for php.exe, C:\wamp\php\php.exe for example
    - execute scripts/weekly.bat once every Monday morning
    - execute scripts/daily.bat once every morning
    - execute scripts/fivemin.bat once every 5 minutes from 00:00 to 23:55
