Rekadia NPM Registry

Sebelum setup Rekadia NPM Registry pastikan NodeJS dan npm sudah tersedia pada system Anda. Berikut cara untuk memastikan NodeJS dan npm sudah terinstall pada system:

Buka Windows PowerShell sebagai Administrator, lalu ketikan command berikut ini:

node -v
npm -v

Intall npmrc untuk untuk konfigurasi Enterprise profile

Dari Windows PowerShell, Install secara global npmrc dengan command berikut:

npm i -g npmrc

Menambah npm Enterprise profile

Setelah install npmrc, tambah profile untuk rekadia dengan command npmrc -c <profile-name>

npmrc -c rekadia

Memastikan enterprise profile sudah ditambahkan

npmrc

Setup registry untuk enterprise profile yang dipilih npm config set registry <url>

npm config set registry https://rekadia.net:82/

Login npm registry pada Enterprise profile

Setelah melakukan setup enterprice profile di atas, sekarang waktunya untuk login agar mendakan akses pada scope library rekadia. Untuk akun yang digunakan adalah akun Active Directory Rekadia.

npm login

Topaz Moderato has written 14 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>