Setup Artifactory

Installing Node Assets (Artifactory)

  1. 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.
  2. Create or copy your'e API key (you can find them under your profile settings)
  3. Open the terminal and navigate to the /apps/mc_picker/assets/ folder
  4. Create an .npmrc file and paste the following:
registry = https://artifactory.persgroep.cloud/artifactory/api/npm/npm
  1. 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
  1. Run npm i, and we are ready to go.
Last Updated: 8/25/2020, 9:18:56 AM