Skip to content

Installation

Jan Blizničenko edited this page Mar 29, 2020 · 5 revisions

Installation process depends on your preferences and experience with Pharo 8. All options will require following code:

Metacello new
  baseline: 'KendrickModeller';
  repository: 'github://CCMi-FIT/kendrick-modeller/repository';
  load.

Easy but slow option

Use this if you are not experienced with Pharo. Loading of code may take many minutes this way.

  • Download OpenPonk FSM build for your platform from https://openponk.org/#download
  • Extract zip archive
  • Open OpenPonk Pharo image using executable file
  • In the image, run the code above this way:
    • Click on background in the Pharo image
    • select Playground
    • copy there the code above
    • select the code
    • right click on selected code
    • select Do it
  • Every time loading gets interrupted by a Warning window, click Proceed to continue

Fast option

Use this if you already have a Pharo virtual machine and you don't mind using new Pharo image.

Custom image option

To load everything needed into any existing or new image, just run the code above.

  • In the image, run the code above
  • Every time loading gets interrupted by a Warning window, click Proceed to continue

If you already have a Kendrick or OpenPonk in your image and do not want to replace it by version loaded by code above, you can load just part of required packages be replacing last line ("load.") by...

  • If you have Kendrick, but do NOT have OpenPonk
    • replace "load." by "load: #openponk.".
  • If you do NOT have Kendrick, but do have OpenPonk
    • replace "load." by "load: #kendrick".
  • If you have both Kendrick and OpenPonk
    • replace "load." by "load: #package".

Opening the application (OpenPonk-Modularity workbench)

Either

  • right click on background
  • select OpenPonk-Modularity-Kendrick example

or run following code

OKWorkbench example