Setup Artifactory
Installing Node Assets (Artifactory)
- Log into Artifactory using your DPG credentials (part_of_lastname001) Make sure your username is cased as Artifactory shows on the top right of their portal.
- Create or copy your'e API key (you can find them under your profile settings)
- Open the terminal and navigate to the
/apps/mc_picker/assets/
folder - Create an
.npmrc
file and paste the following:
registry = https://artifactory.persgroep.cloud/artifactory/api/npm/npm
- Run the following curl command:
curl -u<USER_NAME>:<API_KEY> https://artifactory.persgroep.cloud/artifactory/api/npm/auth
this will print something like this:
_auth = qwertyu
always-auth = true
email = Rick.Sanchez@dpgmedia.nl
copy this to the .npmrc file, it should now look like this:
registry = https://artifactory.persgroep.cloud/artifactory/api/npm/npm
_auth = qwertyu
always-auth = true
email = Rick.Sanchez@dpgmedia.nl
- Run
npm i
, and we are ready to go.