mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
Updating DEV Setup with .npmrc
This commit is contained in:
parent
d535e12ee1
commit
48781c6b34
@ -72,6 +72,20 @@ npm run test:spectron -- --match=spell*
|
|||||||
|
|
||||||
## Packaging:
|
## Packaging:
|
||||||
|
|
||||||
|
- Add Artifactory credentials to your home directory `.npmrc` file
|
||||||
|
|
||||||
|
1. Login to https://repo.symphony.com/ in your browser
|
||||||
|
2. Open https://repo.symphony.com/artifactory/webapp/#/profile
|
||||||
|
3. Click generate token
|
||||||
|
4. Execute `curl --location --request GET 'https://repo.symphony.com/artifactory/api/npm/auth' --header 'X-JFrog-Art-Api: <token from #3>'`
|
||||||
|
5. Update ~/.npmrc with:
|
||||||
|
|
||||||
|
```
|
||||||
|
registry = https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/
|
||||||
|
_auth = <auth value from #4>
|
||||||
|
always-auth = true
|
||||||
|
```
|
||||||
|
|
||||||
### Mac 🖥
|
### Mac 🖥
|
||||||
- npm install
|
- npm install
|
||||||
- npm run dev (to run locally)
|
- npm run dev (to run locally)
|
||||||
|
Loading…
Reference in New Issue
Block a user