Actualizar 'README.md'

This commit is contained in:
Offray Vladimir Luna Cárdenas 2021-07-28 03:00:19 -05:00
parent 9f3d7e02e5
commit 249faccc5e

View File

@ -18,32 +18,10 @@ This is build from the years long experience with a diverse community around Gra
Also they serve as a starting test bed to explore the moldability of GToolkit the affordances it provides for customization Also they serve as a starting test bed to explore the moldability of GToolkit the affordances it provides for customization
and how easy is to use them. and how easy is to use them.
To load this package open a Playground in GToolkit and execute: To install, first install [ExoRepo](https://code.tupale.co/Offray/ExoRepo) and then from a _playground_ in [GToolkit](https://gtoolkit.com/) execute:
```smalltalk ```smalltalk
"I load the configuration of this package using a external Gitea repository." ExoRepo new
"While more Git independient providers are implemented in Monticello, I will use Iceberg repository: 'https://code.tupale.co/Offray/LepiterPlugins';
to download the repository and load it from a local directory" load.
| location localRepo repoName packageName |
"Sometimes repoName and packageName are different, following Pharo's conventions.
For example the repoName can be MyPackage, while packageName can be My-Package"
repoName := 'LepiterPlugins'.
packageName := 'LepiterPlugins'.
"Local and remote repo definition"
location := FileLocator localDirectory / 'iceberg' / 'Offray' / repoName.
location exists ifFalse: [
(IceRepositoryCreator new
location: location;
remote: (IceGitRemote url: 'https://code.tupale.co/Offray/', repoName, '.git');
createRepository)
register
].
"Package loading"
localRepo := 'gitlocal://', location fullName.
Metacello new
repository: localRepo;
baseline: repoName;
load.
``` ```