Skip to content

Commit

Permalink
Update readme instructions --skip-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Rutland committed Oct 20, 2022
1 parent 5901f29 commit 848e68b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,18 @@ If you do not have credentials Request an NPM repository access key from your Vl
The easiest way to set it up is to add the credentials to an `.npmrc` file in the User's home directory of your machine. Run the following:
```
npm config set @omnistudio:registry https://repo.vlocity.com/repository/vlocity-public/
npm config set _auth <In Nexus - Use the following for a base64 representation of "user:password"> --registry https://repo.vlocity.com/repository/vlocity-public/
npm config set _auth <In Nexus - Use the following for a base64 representation of "user:password">
```

The file should then look like:
```
@omnistudio:registry=https://repo.vlocity.com/repository/vlocity-public/
//repo.vlocity.com/repository/vlocity-public/:username=USERNAME
//repo.vlocity.com/repository/vlocity-public/:_password="PASSWORD"
```

The other namespaces for the compiler are `@vlocity-ins` and `@vlocity-cme`.

If setup correctly then the following should work:
`npm install @omnistudio/omniscript-lwc-compiler`

Expand Down

0 comments on commit 848e68b

Please sign in to comment.