Changes between Version 49 and Version 50 of buildInstructions

Show
Ignore:
Timestamp:
06/24/10 14:08:13 (9 years ago)
Author:
chase (IP: 152.3.136.123)
Comment:

Moved "preparing for use" instructions to deploy wiki.

Legend:

Unmodified
Added
Removed
Modified
  • buildInstructions

    v49 v50  
    8888'''NOTE 4:''' Once you have the entire project built and installed to your local repository, you can reinstall any subproject by running ''mvn install'' in the projects subdirectory. This is much faster than recompiling the entire tree. 
    8989 
    90 == Preparing GENI-ORCA  for Use == 
    91  
    92 === 1.1-alpha and previous releases === 
    93  
    94 Once you have built and installed all artifacts in your local maven repository you have some more setup steps to go through before you can 
    95 use the system. These have to do with generating a certificate and a keystore and linking/copying them in the right place. If your filesystem 
    96 supports symbolic links, simply use the provided ant task: 
    97  
    98 {{{ 
    99 $ ant prepare.use 
    100 }}} 
    101  
    102 This task will generate the admin security configuration and place links to it in the relevant directories. It will also initialize and link other directories 
    103 needed to build/test drivers.  
    104  
    105 If your file system does not support symbolic links or you want more control over the process you can try the following steps: 
    106  
    107 1. Create the security configuration by going to tools/config and running 
    108 {{{ 
    109 $ cd tools/config 
    110 $ ant security.create.admin.config 
    111 }}} 
    112  
    113 '''NOTE:''' Make sure there is no existing runtime directory before you run this command unless you know what you are doing. 
    114  
    115 2. Copy or softlink the resulting runtime/ directory to the orca/webapp directory. 
    116  
    117 === 1.2 and following releases === 
    118  
    119 Once you have built and installed all artifacts in your local maven repository you have some more setup steps to go through before you can 
    120 use the system. These have to do with generating a certificate and a keystore and linking/copying them in the right place. Note that starting from  
    121 release 1.2 ORCA '''no longer packages config/ or runtime/ directories into the webapp'''. 
    122 {{{ 
    123 $ cd tools/config 
    124 $ ant security.create.admin.config 
    125 }}} 
    126 Define $ORCA_HOME (e.g. export ORCA_HOME=/opt/orca) 
    127 {{{ 
    128 $ cp -r runtime $ORCA_HOME 
    129 $ cp -r scripts $ORCA_HOME 
    130 }}} 
    131  
    132 Edit the configuration files (container.properties etc.) under webapp/ and similarly copy it under the $ORCA_HOME 
    133 {{{ 
    134 $ cd ../../webapp 
    135 $ vi config/container.properties 
    136 $ cp -r config $ORCA_HOME 
    137 }}} 
    138 Edit the tomcat startup script start.sh by adding statement 
    139 {{{ 
    140 export ORCA_HOME=/opt/orca 
    141 }}} 
    142 to it.