OpenSource ERP Software dedicated to small to mid-size companies

           Become Platinium or Gold Neogia Partner

Standard deployment procedure

Contents

Presentation

When we deploy neogia in production site, we generally setup three environments:

To keep a trace of all specific modifications brought to neogia, we use a cvs repository.

This guide is based on the deployment on Linux, this choice being the majority choice. Neogia is however installable on any OS having a virtual machine java (JVM) and the necessary tools installed.

Preparation

INSTALL_ROOT=/opt/neogia
su
useradd neogia
INSTALL_ROOT=/opt/neogia
mkdir $INSTALL_ROOT
chown neogia:users $INSTALL_ROOT
su neogia

Setup a cvs repository

  1. create repository
mkdir -p ${install.dir}/cvsroot/neogia
cvs -d ${install.dir}/cvsroot/neogia init

Setup database

PostgreSQL

   <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
       <group-map group-name="org.ofbiz" datasource-name="localderby"/>
       <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
   </delegator>

To:

   <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
       <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
       <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
   </delegator>

Setup integration environment

Setup production environment

Setup backup environment