Recent Changes - Search:

CONGO

PmWiki

edit SideBar

ServerConfiguration

Main.ServerConfiguration History

Hide minor edits - Show changes to output

Added line 27:
   portnumber=8081
Changed lines 1-2 from:
The appserver ('cserver') is configured via a configuration file called 'cserver.conf'.  If you start the app server without a configuration file, one will be created.  This is a handy way to figure out what directory cserver will look in for the file.
to:
The appserver ('cserver') is configured via a configuration file called 'cserver.conf'.  If you start the app server without a configuration file, one will be created.  This is a handy way to figure out what directory cserver will look in for the file.  Without any baseline configuration, the cserver will fail to connect and exit.  Look in the congo top level directory and you should find the 'cserver.conf' file it created as it tried to start.
Added lines 10-30:
Most likely the first thing to set in the conf file is the information necessary to connect to the MySQL database.  Options are specified one to a line, with a keyword, an equals sign, and a value.  Here's a fairly typical setup:

[@
  #cserver.conf configuration options.
  #Fri Jun 01 23:21:06 EDT 2007
  preferredregtype=None
  dbname=congodb
  preferredcid=18
  mailcc=reg@arisia.org
  username=dbuser
  badgeclass=generic
  receiptprintcommand=echo
  enablekiosk=0
  badgeprintcommand=echo
  labelprintcommand=lpr -Pseiko -oscaling\=100
  mailname=CONGO Registration System
  password=dbpassword
@]

Details on what all these keywords mean can be found in the cserver API documentation, but MySQL connect information uses 'dbname' 'username' and 'password'.

Changed lines 6-7 from:
#cserver.conf configuration options.
#Wed
Jul 18 21:37:40 EDT 2007
to:
   #cserver.conf configuration options.
 
#Wed Jul 18 21:37:40 EDT 2007
Added lines 1-9:
The appserver ('cserver') is configured via a configuration file called 'cserver.conf'.  If you start the app server without a configuration file, one will be created.  This is a handy way to figure out what directory cserver will look in for the file.

The default configuration file created by the appserver simply has a header in it:

[@
#cserver.conf configuration options.
#Wed Jul 18 21:37:40 EDT 2007
@]

Edit - History - Print - Recent Changes - Search
Page last modified on May 22, 2008, at 11:28 PM