Turn Your Vehicle Into a Smart Earning Asset

While youโ€™re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

๐Ÿš— You set the rental price
๐Ÿ” Secure bookings with verified renters
๐Ÿ“ Track your vehicle with GPS integration
๐Ÿ’ฐ Start earning within 48 hours

Join as a Partner Today

Itโ€™s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to upload and download NPM Package using Sonatype Nexus?

Step 1 – Create a npm nexus repo

Step 2 – Step 2 – Install Node in your server

Step 3 – Create a Sample Project using NPM

$ mkdir npmprj
$ cd npmprj/
$ npm init
$ vi index.js
$ npm install express --save
$ npm publish

Step 4 – Create a Nexus ID n Pass which has deploy access to npm repo in nexus.

# Convert user id and password to encoded token usign base64
$ echo -n 'myuser:mypassword' | openssl base64Code language: PHP (php)

Step 5 – Create .npmrc with a REPO Location and Access to upload

registry = http://15.206.81.210:8081/repository/npm-group-all/
_auth=ZGVwbG95LXVzZXI6ZGVwbG95LXVzZXIxMjM=Code language: JavaScript (javascript)

Step 6 – Modify package.json file with group repo name to download

{
  "name": "devopsschool",
  "version": "1.0.0",
  "description": "This is devopsschool npm project",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Rajesh Kumar",
  "license": "ISC",
  "dependencies": {
    "express": "^4.17.1"
  },
  "publishConfig": {
    "registry": "http://15.206.81.210:8081/repository/npm-hosted-all/"
  }
}Code language: JSON / JSON with Comments (json)

Step 7 – Do npm publish

$ npm publish

Reference

  • https://github.com/devopsschool-demo-labs-projects/npm-nexus-hello-world

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.