Skip to content

Commit

Permalink
Documenting the advised private registry workflow
Browse files Browse the repository at this point in the history
Updated README.md to reflect the advised workflow for switching to a private registry.
  • Loading branch information
markstickley committed Nov 13, 2014
1 parent 748be71 commit 12fc423
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,17 +274,12 @@ You may wish to run your own registry instead of using the publicly maintained d

A private registry can be created simply by forking the [public registry](https://github.com/jspm/registry). This is for convenience only - so long as the same folder and file structure is used the registry should work.

A private registry can be configured with:
If you want to make changes and have them take effect without the need to push to your github account each time, clone the forked repo to your local machine (or clone the registry repo directly if you aren't sharing the private registry).

```
jspm endpoint create my-registry jspm-registry
Enter the registry repo path [https://github.com/jspm/registry.git]:
```

You can then set it as the default registry with:

```
jspm config registry my-registry
git clone [email protected]:jspm/registry jspm-registry
jspm endpoint config jspm
Enter the registry repo path [[email protected]:jspm/registry]: path/to/jspm-registry/.git
```

Now when you install or update a module your private registry will be used instead of the public registry.
Expand Down

0 comments on commit 12fc423

Please sign in to comment.