forked from jspm/jspm-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documenting the advised private registry workflow
Updated README.md to reflect the advised workflow for switching to a private registry.
- Loading branch information
1 parent
748be71
commit 12fc423
Showing
1 changed file
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|