Changeset 57


Ignore:
Timestamp:
Apr 23, 2003, 8:59:45 PM (19 years ago)
Author:
kake
Message:

Added note on PREREQUISITES, added Search::InvertedIndex? to prereqs

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r56 r57  
    66eval "use Config::Tiny";
    77die "Config::Tiny is required to configure this application.\n" if $@;
     8
     9#####
     10##### When updating the prepreqs PLEASE REMEMBER to update PREREQUISITES.
     11#####
    812
    913# Create the build object.
     
    4549        'Geography::NationalGrid' => 0,
    4650        'Parse::RecDescent' => 0,
     51        'Search::InvertedIndex' => 0,
    4752        'Template' => 0,
    4853        'Time::Piece' => 0,
  • trunk/Changes

    r56 r57  
     10.03    23 April 2003
     2        Added PREREQUISITES file as requested by Cal.
     3        Fixed OpenGuides::Build to die if it can't find its prereqs.
     4
    150.02    23 April 2003
    26        Fixed stray content-type header in RDF full index output.
    3         Added stray files to MANIFEST (whoops, thanks cal).
     7        Added stray files to MANIFEST (whoops, thanks Cal).
    48
    590.01    22 April 2003
  • trunk/MANIFEST

    r56 r57  
    55MANIFEST
    66META.yml
     7PREREQUISITES
    78README
    89preferences.cgi
  • trunk/README

    r56 r57  
    1 OpenGuides Version 0.01
     1OpenGuides Version 0.03
    22=======================
    33
     
    55
    66 - Module::Build for installation
     7 - other prerequisite modules as detailed in PREREQUISITES
    78 - a webserver (such as Apache)
    89 - a Postgres database dedicated to the OpenGuides installation
  • trunk/lib/OpenGuides/Build.pm

    r56 r57  
    44use Module::Build;
    55use base 'Module::Build';
    6 use Config::Tiny;
    7 use CGI::Wiki::Setup::Pg;
     6
     7eval "use Config::Tiny";
     8die "Config::Tiny is required to configure this application.\n" if $@;
     9
     10eval "use CGI::Wiki::Setup::Pg";
     11die "CGI::Wiki is required to set up this application.\n" if $@;
    812
    913my $config = Config::Tiny->read("wiki.conf");
     
    1115my $dbuser = $config->{_}->{dbuser};
    1216my $dbpass = $config->{_}->{dbpass};
     17my $dbhost = $config->{_}->{dbhost};
    1318
    1419sub ACTION_install {
     
    1621    $self->SUPER::ACTION_install;
    1722    print "Checking database schema...\n";
    18     CGI::Wiki::Setup::Pg::setup( $dbname, $dbuser, $dbpass );
     23    CGI::Wiki::Setup::Pg::setup( $dbname, $dbuser, $dbpass, $dbhost );
    1924}
    2025
  • trunk/wiki.cgi

    r56 r57  
    55
    66use vars qw( $VERSION );
    7 $VERSION = '0.02';
     7$VERSION = '0.03';
    88
    99use lib "lib"; # for OpenGuides modules that are installed with this script
Note: See TracChangeset for help on using the changeset viewer.