Skip to content

ashleygwilliams/npmO-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npmO-vagrant

a vagrant setup for trialing npm On-Site

Want to use npm, but behind a firewall? npm offers npm On-Site as a way to replicate the npm Public Registry, run it behind a firewall, allowing for:

  • use/publish private packages
  • use/publish public packages
  • whitelist/blacklist public packages

Prerequisites

To get up and running all you'll need is:

Up and Running

  1. Install and/or retrieve all the Prerequisites
  2. Type vagrant up in your terminal
  3. Open localhost:8800 in your browser
  4. You'll see a screen that looks like this not safe
  5. Click Advanced. It will show another panel that looks like this advanced
  6. Click Proceed to localhost(unsafe) (it's safe. i promise 😄)
  7. You'll see a screen that looks like this certificate Type localhost and then click Use Self-Signed Certificate
  8. You'll see a screen that asks for your email address and License key, type those in and press the button to continue
  9. You'll see a screen that looks like this settings Replace what is pre-filled with:
    • Full URL of npm On-Site registry: localhost:8081
    • Full URL of npm On-Site website: localhost:8082
  10. Scroll down until you see a section called "Authentication" that looks like the image below. Select Open. auth
  11. Save. You'll see a dialog to restart your service. Click Restart Now.
  12. Visit localhost:8082. You have the npm website running! You registry is running at localhost:8081

About

a vagrant setup for trialing npm On-Site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published