-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add registry-cache docs * Bump version to 1.1.6
- Loading branch information
felipe.fuerback
authored
Mar 20, 2024
1 parent
327f62d
commit 0fc0483
Showing
13 changed files
with
103 additions
and
37 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
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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"commands": { | ||
"connect": { | ||
"id": "connect", | ||
|
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Using the local registry cache | ||
|
||
To save on bandwidth and to improve everyone's downloading speed and development experience we are asking everyone to update their Docker and NPM config to prioritize using a cache setup on our local network. If you have questions how a pull through cache works you can [read more here](https://docs.docker.com/docker-hub/mirror/#how-does-it-work). | ||
|
||
Below are instructions, NPM is the same on all environments but docker will be different per OS. | ||
|
||
## NPM | ||
|
||
To use the local registry just run the below command. | ||
|
||
```sh | ||
npm set registry http://172.23.0.79:4873 | ||
|
||
``` | ||
|
||
To remove the registry after the hackathon run this. | ||
|
||
```sh | ||
npm config delete registry http://172.23.0.79:4873 | ||
|
||
``` | ||
|
||
## Docker | ||
|
||
### 1. Openining the config file. | ||
|
||
### Windows | ||
|
||
``` | ||
C:\Users\<YourName>\.docker\daemon.json | ||
``` | ||
|
||
### Mac | ||
|
||
``` | ||
~/.docker/config.json | ||
``` | ||
|
||
### Linux | ||
|
||
```sh | ||
sudo nano /etc/docker/daemon.json | ||
``` | ||
|
||
## 2. Change to make | ||
|
||
```json | ||
{ | ||
"registry-mirrors": ["http://172.23.0.79:5000"] | ||
} | ||
``` | ||
|
||
## 3. Restarting Docker | ||
|
||
### Windows/Mac | ||
|
||
End the process and close the program, then start it back up. | ||
|
||
### Linux | ||
|
||
```sh | ||
sudo systemctl restart docker | ||
``` |
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 |
---|---|---|
|
@@ -138,12 +138,12 @@ | |
"@eslint/[email protected]","@eslint/js","8.55.0","https://github.com/eslint/eslint","ESLint JavaScript language implementation","MIT" | ||
"@fidm/[email protected]","@fidm/asn1","1.0.4","https://github.com/fidm/asn1","ASN.1/DER, PEM for Node.js","MIT" | ||
"@fidm/[email protected]","@fidm/x509","1.2.1","https://github.com/fidm/x509","Pure JavaScript X509 certificate tools for Node.js","MIT" | ||
"@gala-chain/[email protected].5","@gala-chain/api","1.1.5","","Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.","Apache-2.0" | ||
"@gala-chain/[email protected].5","@gala-chain/chaincode","1.1.5","","Framework for building chaincodes on GalaChain","Apache-2.0" | ||
"@gala-chain/[email protected].5","@gala-chain/cli","1.1.5","","CLI for GalaChain to manage and deploy chaincodes","Apache-2.0" | ||
"@gala-chain/[email protected].5","@gala-chain/client","1.1.5","","GalaChain client library","Apache-2.0" | ||
"@gala-chain/[email protected].5","@gala-chain/sdk","1.1.5","","Welcome to developing with GalaChain! GalaChain SDK is a set of TS tools to help you develop on GalaChain:","UNLICENSED" | ||
"@gala-chain/[email protected].5","@gala-chain/test","1.1.5","","Unit testing and integration testing for GalaChain","Apache-2.0" | ||
"@gala-chain/[email protected].6","@gala-chain/api","1.1.6","","Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.","Apache-2.0" | ||
"@gala-chain/[email protected].6","@gala-chain/chaincode","1.1.6","","Framework for building chaincodes on GalaChain","Apache-2.0" | ||
"@gala-chain/[email protected].6","@gala-chain/cli","1.1.6","","CLI for GalaChain to manage and deploy chaincodes","Apache-2.0" | ||
"@gala-chain/[email protected].6","@gala-chain/client","1.1.6","","GalaChain client library","Apache-2.0" | ||
"@gala-chain/[email protected].6","@gala-chain/sdk","1.1.6","","Welcome to developing with GalaChain! GalaChain SDK is a set of TS tools to help you develop on GalaChain:","UNLICENSED" | ||
"@gala-chain/[email protected].6","@gala-chain/test","1.1.6","","Unit testing and integration testing for GalaChain","Apache-2.0" | ||
"@gar/[email protected]","@gar/promisify","1.1.3","https://github.com/wraithgar/gar-promisify","Promisify an entire class or object","MIT" | ||
"@grpc/[email protected]","@grpc/grpc-js","1.9.7","https://github.com/grpc/grpc-node/tree/master/packages/grpc-js","gRPC Library for Node - pure JS implementation","Apache-2.0" | ||
"@grpc/[email protected]","@grpc/proto-loader","0.6.13","https://github.com/grpc/grpc-node","gRPC utility library for loading .proto files","Apache-2.0" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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