常用镜像源

nvm taobao镜像源 # ~/.zprofile # nvm export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node export NVM_DIR="/home/kiyan/.nvm" [ -s "$NVM_DIR/nvm.sh"

pm2 deploy nvm not loaded

// pm2 ecosystem.config.js module.exports = { deploy : { production : { user : "node", host : "xxx.xxx.xxx.xxx", ref : "origin/master", repo : "https://github.com/fourcels/ghostiny.git", path

Apache目录访问权限

Apache 设置虚拟目录 <VirtualHost *:80> ... Alias /doc "/home/node/public-api/current/doc" <Directory "/home/node/public-api/current/doc"> Options Indexes FollowSymLinks AllowOverride None

Welcome to Ghost

You're live! Nice. We've put together a little post to introduce you to the Ghost editor and get you started. You can manage your content by