- git clone https://github.com/TechDom-Ca/mynodejsapp.git
- You need to have git installed on the server
- npm login
- npm adduser
- cd mynodejsapp
- npm install
- node app.js
- npm start
- npm test
- npm run sonar
- node sonar-project.js
- echo -n 'admin:enterYourPassword' | openssl base64
registry=<<NexusRepoURL>>
_auth=<<Token>>
email=<<EmailID>>
always-auth=true
"publishConfig": {
"registry": "http://IPAddress:8081/repository/nodejs-repo/"
}
- npm login --registry=NexusRepoURL
- npm publish