mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update README.md
This commit is contained in:
20
README.md
20
README.md
@@ -13,13 +13,31 @@
|
|||||||
|
|
||||||
All the components are stored in our private repository, the address is http://52.16.120.219:4873/. The repository is visible only from the Alfresco VPN.
|
All the components are stored in our private repository, the address is http://52.16.120.219:4873/. The repository is visible only from the Alfresco VPN.
|
||||||
|
|
||||||
How to configure it:
|
##### How to configure it:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm set registry http://52.16.120.219:4873
|
npm set registry http://52.16.120.219:4873
|
||||||
npm adduser --registry http://52.16.120.219:4873
|
npm adduser --registry http://52.16.120.219:4873
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### How to publish on it:
|
||||||
|
|
||||||
|
Add the repository to your package.json.
|
||||||
|
ATTENTION: If you don't add the following lines, the package is published on the public Npm repository.
|
||||||
|
|
||||||
|
```json
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "http://52.16.120.219:4873/"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the command below:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm version patch
|
||||||
|
npm publish
|
||||||
|
```
|
||||||
|
|
||||||
### Running demo project
|
### Running demo project
|
||||||
|
|
||||||
*Steps below show the quickest way to get demo shell up and running.*
|
*Steps below show the quickest way to get demo shell up and running.*
|
||||||
|
Reference in New Issue
Block a user