Node.js
Common NPM Commands
· β˜• 2 min read
** By default, a command operates on the current directory environment. Adding the -g flag makes it apply globally instead.** Upgrade npm 1 npm install npm -g Show the current version 1 npm -v Show the npm registry configuration 1 npm config get registry Change the npm registry 1 2 npm config set registry http://registry.

Ghost Source Code Analysis (Part 1): Directory Structure
· β˜• 1 min read
Ghost version:“version”: “0.9.0-beta.2” |— content Content directory | |— apps directory, currently empty; apps may be deployed directly on Ghost in the future | |— data Database folder | |— images Image folder | |— themes Ghost theme folder |— core Core module directory | |— client Client-side code folder