Loading GT server code into a non-Rowan stone

This page documents the steps to load the Gt server code in a GemStone stone.

Note that the bash snippets are provided as a template, and will need modifying for actual use.

Define the normal environment variables, e.g. the following environment variables:

        
export GEMSTONE=/path/to/GemStone64Bit3.7.0-x86_64.Linux
export MANPATH=$GEMSTONE/doc
export PATH=$GEMSTONE/bin:$PATH
export ROWAN_PROJECTS_HOME=/path/to/gitreps
        
      

While Rowan isn't loaded in to GemStone, the environment variable is used by the Gtoolkit scripts.

Install and start GemStone:

        
cd $GEMSTONE/..
unzip GemStone64Bit3.7.0-x86_64.Linux.zip
cd GemStone64Bit3.7.0-x86_64.Linux/install
./installgs
sudo chmod ug+s $GEMSTONE/sys/netldid
sudo chown root $GEMSTONE/sys/netldid
cd -
startnetldi 
startstone
        
      

Retrieve the required repositories:

        
mkdir $ROWAN_PROJECTS_HOME
cd $ROWAN_PROJECTS_HOME
git clone git@github.com:feenkcom/gtoolkit-gemstone.git
cd gtoolkit-gemstone/rowan/scripts/
./clone_repositories.sh
        
      

Install RSR and Gtoolkit:

        
cd $ROWAN_PROJECTS_HOME/Sparkle/src-gs
./bootstrapSparkle.sh 
cd $ROWAN_PROJECTS_HOME/gtoolkit-gemstone/rowan/scripts
./inputGt4gemstone.sh 
cd $ROWAN_PROJECTS_HOME/gtoolkit-remote/rowan/scripts
./inputGtRemote.sh
        
      

Start the RSR server:

        
cd $ROWAN_PROJECTS_HOME/Sparkle/src-gs
# Edit login.topaz with the appropriate credentials
./server.sh