(CC BY-NC 2.0) by chimerasaurus.
Tugrik makes it possible to use the MongoTalk Smalltalk API to store objects in a GemStone/S 64 database using GsDevKit_home. The obvious advantage is that instead of storing your domain objects in an opaque db like Mongo, your Smalltalk objects are stored in a Smalltalk db and operations can be performed in-place in the GemStone/S 64 db.
The following are based on the GsDevKit_home installation instructions:
# Install GsDevKit_home
git clone https://github.com/GsDevKit/GsDevKit_home.git
cd GsDevKit_home
. bin/defHOME_PATH.env
installServerClient
# Create tODE client
createClient tode
# Create Tugrik stone
createStone -u http://gsdevkit.github.io/GsDevKit_home/Tugrik.ston -i Tugrik -l Tugrik Tugrik 3.3.0
# Create Tugrik Pharo5.0 client
createClient -t pharo tugrik -l -v Pharo5.0 -z $GS_HOME/shared/repos/Tugrik/.smalltalk.ston
#interactive session
startClient tugrik -s Tugrik
# run SmalltalkCI tests - batch mode
startClient tugrik -f -s Tugrik -z $GS_HOME/shared/repos/Tugrik/.smalltalk.ston -r -t tugrik_tests
# refresh git clone
cd $GS_HOME/shared/repos/Tugrik
git pull origin master
# refresh client (-f option)
createClient -f -t pharo tugrik -l -v Pharo5.0 -z $GS_HOME/shared/repos/Tugrik/.smalltalk.ston
# refresh server
todeIt Tugrik project load Tugrik
(FileLocator imageDirectory / 'customClientLoad.st') fileIn
For more information see SmalltalkCI and GsDevKit_home.