Skip to content

Instantly share code, notes, and snippets.

@dalehenrich
Last active November 2, 2015 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalehenrich/462e404465b3049b4eab to your computer and use it in GitHub Desktop.
Save dalehenrich/462e404465b3049b4eab to your computer and use it in GitHub Desktop.

project load --url=...

tODE script:

project entry --url=http://gsdevkit.github.io/GsDevKit_home/Seaside31.ston
project clone --https --local Seaside3
project load Seaside3

project entry --url=...

Smalltalk workspace1:

  | response client entryNodeSource projectEntryNode node |
  client := ZnClient new.
  response := client
    beOneShot;
    enforceHttpSuccess: true;
    get: 'http://gsdevkit.github.io/GsDevKit_home/Seaside31.ston' asZnUrl.
  entryNodeSource := response decodeFromUTF8.
  projectEntryNode := self objectSerializer fromString: entryNodeSource.
  node := (self topez lookup: '/sys/stone/projects') addChildLeafNode: projectEntryNode.
  node topez: self topez.
  ^ node dotSelfObject

project clone --https --local Seaside3

Bash shell:

cd $GS_HOME/shared/repos
git clone https://github.com/glassdb/Seaside31.git
cd Seaside31
git checkout gs_master

project load Seaside3

Smalltalk workspace2:

Metacello new
  baseline: 'Seaside3';
  repository: 'filetree://$GS_HOME/shared/repos/Seaside3/repository';
  loads: #('Development' 'Zinc' 'FastCGI' 'Examples').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment