Updates install instructions and usage example.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2021-07-27 19:10:00 -05:00
parent f07b0ba1fd
commit 4192c2cd2e
1 changed files with 27 additions and 2 deletions

View File

@ -3,7 +3,11 @@
ExoRepo provides syntactic sugar for Pharo's Iceberg to support repositories beyond GitLab, GitHub and ExoRepo provides syntactic sugar for Pharo's Iceberg to support repositories beyond GitLab, GitHub and
Bitbucket. Bitbucket.
To install this from Gitea, run from a playground: ## Installation
### from Gitea
Run from a playground:
```smalltalk ```smalltalk
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'ExoRepo'. location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'ExoRepo'.
@ -17,4 +21,25 @@ To install this from Gitea, run from a playground:
repository: 'gitlocal://', location fullName; repository: 'gitlocal://', location fullName;
baseline: 'ExoRepo'; baseline: 'ExoRepo';
load load
``` ```
### from GitHub
Run from a playground:
```smalltalk
Metacello new
repository: 'github://offray/ExoRepo/';
baseline: 'ExoRepo';
load.
```
## Usage
To install the repository <https://code.tupale.co/Offray/TiddlyWikiPharo> run:
```smalltalk
ExoRepo new
repository: 'https://code.tupale.co/Offray/TiddlyWikiPharo';
load.
```