Git Product home page Git Product logo

ghost-matery's Introduction

Ghost Build status

Ghost Screenshot

Ghost is a simple, powerful publishing platform that allows you to share your stories with the world.

Ghost 目由非盈利性组织 Ghost Foundation 和一群优秀的独立贡献者共同维护。我们正在尽最大努力让在线内容创作变得更好。

注意:如果你在使用 Ghost 过程中遇到难题需要帮助,请尽量加入 Slack 社区 寻求帮助而不是在 Github 上新开一个 issue。

快速安装

安装前请确保已经安装了 Node.js - 我们建议使用 Node v0.10.x 的最新版本。

Ghost 同时也支持 Node v0.12io.js v1.2 ,但是请注意,这些版本很有可能导致安装失败。如果遇到问题,请到论坛寻求帮助。

  1. 下载 最新版本 的 Ghost
  2. 解压文件至你所希望的安装位置
  3. 启动一个命令行窗口
  4. 执行 npm install --production 命令
  5. 启动 Ghost
    • 本地环境:npm start
    • 生产环境:npm start --production
  6. 启动浏览器,打开 http://localhost:2368/ghost 链接

还可以参考详细的安装指南

安装中文版

Node.js 是必须的,同样也是建议使用 Node v0.10.x 的最新版本。如果你使用的是 Node v0.12io.js v1.2 版本,请小心!遇到问题可以到 问答社区 讨论。

  1. 下载最新的 Ghost 中文版 。建议下载集成安装包,大概20M左右。
  2. 解压所有文件到你所希望的安装目录
  3. 启动一个命令行窗口
  4. 如果你下载的不是集成安装包(也就是没有 node_modules 目录),清闲执行 npm install --production 命令
  5. 启动 Ghost
    • 本地环境:npm start
    • 生产环境:npm start --production
  6. 启动浏览器,打开 http://localhost:2368/ghost 链接

开发者(从 git 下载 Ghost)

安装 Node.js。

# Node v0.10.x - 推荐
# Node v0.12.x 与 io.js v1.2 - 部分支持
#
# 自行斟酌吧

克隆 👻

git clone git://github.com/tryghost/ghost.git
cd ghost

安装 grunt。

npm install -g grunt-cli

安装 Ghost。 如果你是在本地环境运行 ghost,可以使用 master 分支。如果是在生产环境运行,请使用 stable 分支。 🚫🚀🔬

npm install

编译!

grunt init

为生产环境压缩各种文件。

grunt prod

启动博客。

npm start

##  让 Ghost 在生产环境中运行请添加 --production 参数

祝贺你,一切搞定了!顺便说一下,你还可以直接执行 npm install ghost 指令将 Ghost 作为 npm 包来使用。将 Ghost 作为 NPM 模块来使用 是一份很详尽的文档。

还可以参考更详细的安装指南

部署 Ghost

Ghost(Pro) + DigitalOcean

Ghost 官方支持的 Ghost(Pro) 服务能够帮你节约大量时间,只需点几下鼠标就能部署一个 Ghost 实例到 DigitalOcean 的服务器上,并且还可以免费享受到全球化的 CDN 服务。

Ghost(Pro) 所获得的所有收益都将用于 Ghost 基金 -- 一个非营利性的组织,为 Ghost 的开发和维护提供支持。

如果你希望自己部署 Ghost,可以参考这里

如果你使用的是阿里云主机,还可以参考我们撰写的系列文章,按照文中指引一步步安装 Ghost 以及依赖的各个组件。

保持更新

当 Ghost 有新版本发布时,请参考 升级指南 以了解如何升级 Ghost。

你可以加入 问答社区(中文) 和其他 Ghost 用户交流,或者在 public Slack team 与 Ghost 开发者沟通。我们每周二下午 5:30 都会在 Slack 上开碰头会。请注意,我们说的是伦敦时间

每次有新版本都会在 技术博客 上公布。你可以通过邮件订阅或者在 Twitter 上关注 @TryGhost_Dev

🎷🐢

版权 & 协议

Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT license.

中文版本及插件

Copyright (c) 2013-2015 Ghost **/中文网 - 采用 MIT 许可协议 发布。

ghost-matery's People

Contributors

blinkfox avatar ycjcl868 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.