Quick Install Guide

This page will guide you through the installation from the package available on SourceForge.

Maarch Entreprise has been set up for a quick installation with XAMPP installed in c:\xampp.

If you want to try Maarch Entreprise on a Unix/Linux server, you can follow those instructions. Warning: those are written for Maarch Framework 3 sample, but most can apply to Entreprise.

You obviously can use other distribution of Apache/PHP. Then, make sure that you verified and edit config files. In this case, follow Maarch Framework's installation and configuration guide.

  In all case, make sure to follow the following prerequisites to ensure the application works fine.

Prerequisites

Full details are available here.
Basically, here are the main guidelines:

  • Download and install XAMPP (version 1.7.2 or less) on windows, in folder C:\xampp.
  • Download and install PostgreSQL
  • Verify following parameters in your php.ini file (C:\xampp\php\php.ini):
    • error_reporting = E_ALL & ~E_NOTICE
    • display_errors = on
    • short_open_tag = On
    • magic_quotes_gpc = off

Download and install the packages

Get following packages on SourceForge:

  • MaarchEntreprise-1.0
  • MaarchAutoImport-3.1

Unzip MaarchEntreprise-1.0.zip in C:\xampp\htdocs\maarch_entreprise and MaarchAutoimport-3.1.zip in C:\autoimport.

AutoImport Package contains customer invoices and document samples.

Create the database and load default data

With an administration tool for PostgreSQL, create a database named "maarch_entreprise", encoded in UTF8.

In the newly created database, load the two sql files:

  • C:\xampp\htdocs\maarch_entreprise\structure.sql, to create Maarch Entreprise tables
  • C:\xampp\htdocs\maarch_entreprise\values.sql, to load values.

Important 1 : for english users, an english sample data set is available here : Maarch Entreprise Resources

Important 2 : In the folder "C:\xampp\htdocs\maarch_entreprise\core\xml", you will find a file named config.xml.default with default parameters. Copy it to another file named config.xml.
Same thing applys to C:\xampp\htdocs\maarch_entreprise\apps\maarch_entreprise\xml\config.xml.default.

Creation of Document Servers

Document servers are storage spaces for resources registered in Maarch. Create the folowing folders:

  • C:\Maarch\Docserver\letterbox_coll\
  • C:\Maarch\DocServer\letterbox_coll_ai\

Creation of Zend Lucène (Full text search)

Indexes are basically folders. there is one index per collection used in Maarch Entreprise. Create the following folder:

  • C:\Maarch\indexes\entreprise\letterbox_coll

Load sample documents

From now on, you can log in the application as a superadmin (superadmin/superadmin) or as a normal user. We have released two sample document sets (customer invoices and mass scanned documents) to load with Maarch AutoImport.

Those documents are in :

  • C:\autoimport\samples\entreprise_scan (mass scan)
  • C:\autoimport\samples\entreprise_cold (customer invoices)

Copy the first set of documents and their indexes in the incomming folder of AutoImport:

 copy C:\autoimport\samples\entreprise_scan\*.* C:\autoimport\incoming\entreprise

Launch then the import batch: C:\autoimport\autoimport_entreprise_scan.bat

Do the same with the second set:

 copy C:\autoimport\samples\entreprise_cold\*.* C:\autoimport\incoming\entreprise

The import batch is: C:\autoimport\autoimport_entreprise_cold.bat

There it is!. You can now fully use Maarch Entreprise ! Follow the Guided tour to know more about it.