Installation

For read-write access make sure it's git@github and not https://

    git clone git@github.com:openponk/openponk.git openponk
    git clone git@github.com:openponk/openponk-model.git openponk-model

Point Metacello to repository subfolder of the repo.

The script will complain about conflicts, allow them.

I strongly suggest adding this to a startup script — e.g. when your new image contains "OpenPonk" in it's name it will automatically download and setup everything.

 

    "install GitFileTree"
    Gofer new
        url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo50/main';
        configurationOf: 'GitFileTree';
        loadDevelopment.

    "load OpenPonk-Model"
    Metacello new
        baseline: 'OpenPonkModel';
        repository: 'gitfiletree:///my_path_to_openponk_model/repository';
        lock.

    "load OpenPonk"
    Metacello new
        baseline: 'OpenPonk';
        repository: 'gitfiletree:///my_path_to_openponk/repository';
        onConflict: [ :ex | ex allow ];
        load.

    "adding BORM"

    "BORM Model"
    Metacello new
        baseline: 'BormModel';
        repository: 'gitfiletree:///my_path_to_borm_model/repository';
        lock.

    "BORM Editor"
    Metacello new
        baseline: 'BormEditor';
        repository: 'gitfiletree:///my_path_to_borm_editor/repository';
        onConflict: [ :ex | ex allow ];
        load.

Windows note: Use forward slashes (/) even on Windows. For example

 

repository: 'gitfiletree:///C:/Users/Username/Pharo/openponk/repository';