5. Intranet Getting Started Guide

This section was written by Jade Rubick with slight modifications by Roberto Mello. The ACS Intranet module is being used by large corporations such as Siemens to manage their intranets.

Congratulations, you've just installed ACS. You've managed to get through the install guide (or the OpenACS install guide), you've gotten Oracle or Postgres working, you're now a pretty cool person because you got it working.

Well, if you're using the Intranet module, you're going to need some more setup, and currently, I don't know of any good documentation on the module except for what is at ArsDigita. Read that first.

The Intranet is a pretty complicated module because it relies conceptually on so many other modules. Unless you already understand the ACS, it may take a while to get a handle on it.

First of all, if you're using Postgres 7.02, I recommend applying a patch that fixes the http://www.postgresql.org/bugs/bugs.php?4~2. Preferably, you would install this before installing OpenACS, because otherwise you have to export and import your data to get this working. But the directions are pretty good, so just follow them carefully. I'm not sure if this works completely though -- I started from a fresh copy. (NOTE: This is most likely fixed in PostgreSQL 7.0.3 and later versions.)

Steps to getting your intranet running:

[postgres@intranet pgsql]$ psql intranet (or your servicename)
Welcome to psql, the PostgreSQL interactive terminal.

Type: copyright for distribution terms 
      h for help with SQL commands 
      ? for help on internal slash commands 
      g or terminate with semicolon to execute query 
      q to quit

intranet=# select * from im_partner_types ;

partner_type_id |    partner_type    | display_order
----------------+--------------------+--------------- 
              1 | Usability          | 1
              2 | Graphics           | 2 
              3 | Strategy           | 3 
              4 | Supplier           | 4 
              5 | Sys-admin          | 5 
              6 | Hosting            | 6 
              7 | Systems Integrator | 7 
(7 rows)

intranet=# update im_partner_types set partner_type = 'Service Provider' intranet
-# where partner_type = 'Usability'; 
UPDATE 1

intranet=# select * from im_partner_types ;
partner_type_id |     partner_type       | display_order
----------------+------------------------+--------------- 
              2 | Graphics               | 2 
              3 | Strategy               | 3 
              4 | Supplier               | 4 
              5 | Sys-admin              | 5 
              6 | Hosting                | 6 
              7 | Systems Integrator     | 7 
              1 | Service Provider       | 1 
(7 rows)