Assume HTTP and HTTPS traffic for all of the domains listed.
In addition to this list, you should make sure your host has access to the yum
or apt
repositories it needs for standard OS and kernal upgrades.
Here are just a few reasons why it makes sense to invest in npm's products.
I hereby claim:
To claim this, I am signing this object:
While installing npme
handles the installation of dependencies, uninstalling npme
does not uninstall its dependencies. Here's a quick guide to uninstall and remove the different components that make up the Enterprise product.
Uninstall the npme
package
sudo npm uninstall -g npme
addHandler(cmd, description, builder, handler)
accepts the following; returns undefined
false
for hidden command)npm Enterprise can now be installed as a virtual appliance conforming to the Open Virtualization Format. If you already use a hypervisor or virtualization platform for your infrastructure (such as VMware), you can import and run an instance of this virtual appliance as a host VM instead of installing npm Enterprise on one of your existing hosts.
The appliance is distributed as an .ova
file, which is essentially a tarball containing a virtual machine template (.ovf
file), a virtual hard drive (.vmdk
file), and a manifest (.mf
file). Download the virtual appliance here.
Once you have downloaded the virtual appliance, check for binary completeness by comparing a SHA256 checksum of your download against the respective checksum file listed.
#!/usr/bin/env node | |
// assumes that the Docker bridge is using ip 172.17.0.1 | |
var client = require('redis').createClient('redis://172.17.0.1:6379') | |
var users = {} | |
client.keys('user-*', function (err, keys) { | |
var numKeys = keys.length | |
var numChecked = 0 | |
keys.forEach(function (key) { | |
client.get(key, function (err, value) { |
#!/bin/bash | |
mkdir -p ./publish-tmp | |
cd publish-tmp | |
if [ "$?" != "0" ]; then | |
echo "failed to create publish tmp dir" | |
exit 1 | |
fi | |
function combine (one, two) { | |
return one + two | |
} | |
function hello (name) { | |
return 'Hello ' + (name || 'World') | |
} | |
Git is a system for storing changes to files in a repository consisting of one or more branches.
Let's briefly define what each of these terms mean.
A repository is basically just metadata for a directory (or folder) on your local file system. Just like you can have many directories on your file system, you can have many git repositories on your computer. You can think of a repository as a way to store information about the contents of a particular directory (and the changes made to those contents over time).