Difference between revisions of "Design Specs: Configuration setup and 3rd party software install"

From WormBaseWiki
Jump to navigationJump to search
Line 29: Line 29:
 
  </Model::Schema>
 
  </Model::Schema>
  
= third party software=
+
== third party software==
  
CutyCapt is used to provide pdf print function on the new site
+
=CutyCapt=
 +
this is used to provide pdf print function on the new site
  
 
http://cutycapt.sourceforge.net/
 
http://cutycapt.sourceforge.net/

Revision as of 21:12, 27 January 2011

configuration

in wormbase.conf

turn the timing&caching information on

timer = 1 

when people submit/update issues, email alters will be sent out from this address

issue_email = oicr@wormbase.org 

email account when people register at WormBase

register_email = oicr@wormbase.org

email account for error reporting!

 <Plugin::ErrorCatcher::Email>
   to      oicr@wormbase.org   
   from    oicr@wormbase.org 
   use_tags 1
 #  subject Error Report from: %h; %F, line %l
 </Plugin::ErrorCatcher::Email>

wormbase user database configuration

<Model::Schema>
  schema_class = WormBase::Schema
  <connect_info>  
       dsn =  dbi:mysql:wormbase_user:hostname=...
       user = ..
       password = ..
   </connect_info>
</Model::Schema>

third party software

CutyCapt

this is used to provide pdf print function on the new site

http://cutycapt.sourceforge.net/

installation

 % sudo apt-get install subversion libqt4-webkit libqt4-dev g++
 % svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
 % cd cutycapt/CutyCapt
 % qmake
 % make

configure path to the executable

 <Model::WormBaseAPI>
  ...
  
    <print>

PRO_EXEC = ./CutyCapt </print>

  ...
 </Model::WormBaseAPI>