Manage Your Consulting Business

OpenPsa 2 installation

  1. Midgard installation
  2. MidCOM installation
  3. OpenPsa installation
  4. Database setup

These are installation instructions for OpenPsa 2.0. The setup uses the new Midgard PEAR-based packaging system that is not yet integrated into Midgard 1.7 branch. Because of this the installation requires a bit more work than it will with Midgard 1.8.

The paths shown here are the default for most binary installations of Midgard. If you've compiled it from sources to some other location tune the paths accordingly.

Midgard installation

MidCOM installation

OpenPsa installation

  • Install OpenPsa 2 style template

    # pear install midcom/template_OpenPsa2
    
  • Install OpenPsa core library

    # pear install midcom/org_openpsa_core
    
  • Install user and contact management tool

    # pear install midcom/org_openpsa_contacts
    
  • Install OpenPsa summary page

    # pear install midcom/org_openpsa_mypage
    
  • Install all the other components you want to use

    # pear install midcom/org_openpsa_projects
    # pear install midcom/org_openpsa_sales
    # pear install midcom/org_openpsa_directmarketing
    etc...
    
  • Make sure the pear directory is sane

    Sometimes PEAR sets too restrictive rights to some of the packages, go to the pear directory (usually /usr/share/php) and run:

    # chmod -R a+rx *
    

Database setup

  • You need to upgrade your MySQL database tables with the new structures provided by OpenPsa and MidCOM. Do this by something like following

    # cd /usr/share/midgard/sql/update
    # for updatefile in `ls -a *.sql`; do
         mysql midgard -f -umidgard -pmidgard < $updatefile
      done
    
  • Then restart Apache to refresh all MgdSchema database defitions

After this you can proceed to OpenPsa 2 setup.

OpenPsa is a web-based management suite for consultancies. It has been developed by Nemein and is available under a Free Software license.