Ghost博客平台指南:[1]在MacOS安装Ghost
本篇教程带你在Mac OS X 上安装Ghost博客平台。
工具/原料
Mac OS X 系统
Node.js 平台
Ghost 最新版
安装Node.js
1、进入Node.js官网。下载适用于Mac OS X的‘.pkg’安装包,进行安装。如果是.tar.gz包,则将Node拷灌稹笛黛贝到/usr/local/bin/node,再将npm 拷贝到/usr/local/bin/npm。
安装Ghost博客
1、从Ghost官方网站下载压缩包。解压后放到Ghost文件夹里面(比如 /ghost/)。
2、进入Ghost安装目录,在命令行输入下面的命令来安装Ghost。 cd /ghost/ sudo npm install --production cp config.example.js config.js
运行Ghost博客
1、启动Ghost博客程序 npm start --production
2、浏览 127.0.0.1:2368,查看新安装的Ghost博客。
3、进入 127.0.0.1:2368/ghost 填写登录信息。开始写博客!
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:78
阅读量:26
阅读量:93
阅读量:34
阅读量:37