Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: deleted the nodejusu content

...

Code Block
languagebash
$ appc cloud publish
npm username: admin
npm password: ***********
Preparing application for publish... done
Note

If you use a private npm registry hosted by Nodejitsu, you must first synchronize your public npm user account with the private npm, otherwise you will get an "unauthorized" error. To do this, enter the following npm commands:

Code Block
languagebash
$ npm config set strict-ssl true
$ npm config set ca ""
$ npm config set registry https://<your-subdomain>.registry.nodejitsu.com
$ npm login 

See https://www.nodejitsu.com/documentation/npm/cli/ for more information.

npmRegistry

If you want to use a different npm registry besides the official public npm registry to install dependencies, add the npmRegistry field to the package.json file and set the value to the registry URL you want to use. For example, the entry below uses a European npm mirror:

...