[Glass] Introducing GsDevKit: an Open Source Development Kit for GemStone/S

Dale Henrichs dale.henrichs at gemtalksystems.com
Mon Jul 28 21:53:21 PDT 2014


GsDevKit[1] is basically a repackaging and rebranding for the GLASS.
project.

A single shell script[2] installs GemStone on your server, creates a new
stone, installs and configures tODE, starts the stone and launches a tODE
client ready for use:

  installServer seaside 3.2.1

For folks with remote clients (including Windows users), there are
instructions for installing a remote client[3] once you have installed the
server.

Since you can install multiple stones with GsDevKit, there is a family of
scripts[4] that you can use for starting/stopping the different stones.

tODE is installed and configured so you should be able to start using tODE
with a minimum of setup/installation. When you install a new version of
GemStone the gci library files are copied into the correct spot in the
pharo directory (true for remote clients and servers). The same tODE client
can be used with multiple versions of GemStone.

A number of the scripts in GsDevKit have been written to use tODE and it is
possible to write shell scripts that invoke a tODE command[5] or execute
arbitrary server smalltalk[6]. Just use the `todeClient` script[8] to start
launch tODE.

The scripts have been written to lean heavily on headless pharo, so the
more complicated operations (or those that can benefit from inheritance)
are written in Smalltalk. The Smalltalk code for scripts is embedded in the
GsDevKit project[7]. Over time, more of the scripting functionality will be
pushed into pharo.

Finally, there is a section devoted to add-on projects[9]. As projects are
ported to GsDevKit, folks can add a directory (via pull request) containing
information about their project[10] including a README with
GsDevKit-specific information[11].

All scripts implement the -h option for help.

The GsDevKit project is using travis-ci[12] for script validation (Linux).

There's still more documentation to be written (of course) and more scripts
(at GsDevKit and tODE levels) to be written, but I think that there is
enough functionality present to benefit you folks. Existing stones can be
spliced into the GsDevKit pretty easily (I've done this for my development
stones at work).

Let me know how things go ...

Dale


[1]
https://github.com/GsDevKit/gsDevKitHome/blob/master/README.md#open-source-development-kit-for-gemstones-64-bit-
[2]
https://github.com/GsDevKit/gsDevKitHome/blob/master/README.md#development-kit-server-installation
[3]
https://github.com/GsDevKit/gsDevKitHome/blob/master/docs/clientInstallation.md#tode-client-installation
[4]
https://github.com/GsDevKit/gsDevKitHome/blob/master/README.md#gemstones-management-scripts
[5]
https://github.com/GsDevKit/gsDevKitHome/blob/master/projects/seaside31/loadProject#L49-51
[6]
https://github.com/GsDevKit/gsDevKitHome/blob/master/projects/seaside31/createProjectEntry#L67-79
[7]https://github.com/GsDevKit/gsDevKitHome/tree/master/repository
[8] https://github.com/GsDevKit/gsDevKitHome/blob/master/bin/todeClient
[9]
https://github.com/GsDevKit/gsDevKitHome/blob/master/projects/README.md#gsdevkit-projects
[10] https://github.com/GsDevKit/gsDevKitHome/tree/master/projects/seaside31
[11]
https://github.com/GsDevKit/gsDevKitHome/tree/master/projects/seaside31#seaside31-
[12] https://travis-ci.org/GsDevKit/gsDevKitHome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140728/ac54b8b7/attachment.html>


More information about the Glass mailing list