Ghost Build status

Warning: Major release in progress. Expect things to be broken in master.

The project is maintained by a non-profit organisation called the Ghost Foundation, along with an amazing group of independent contributors. We're trying to make publishing software that changes the shape of online journalism.

NOTE: If you’re stuck, can’t get something working or need some help, please head on over and join our Slack community rather than opening an issue.

 

Ghost 1.0-alpha Developer Install

Please note: These are the install instructions for Ghost 1.0-alpha, which is not stable. If you're looking for the latest release of Ghost, check out the stable branch or the latest release. If you get stuck, come say hi over on slack!

Install and run Ghost.

git clone git@github.com:TryGhost/Ghost.git ghost
    Download the Ghost code base
npm run init
    Short command for: npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init
knex-migrator init
    Creates and initialises your database
grunt dev
    Starts the express server and ember build

Run server tests

grunt test-all

Run client tests

cd core/client
ember test

Read more about the development workflows.

Deploying Ghost

Ghost(Pro)

The easiest way to deploy Ghost is with our official Ghost(Pro) managed service. You can have a fresh instance up and running in a couple of clicks with a worldwide CDN, backups, security and maintenance all done for you.

Not only will it save you many hours per month, but all revenue goes to the Ghost Foundation, which funds the maintenance and further development of Ghost itself. So you’ll be supporting open source software and getting a great service at the same time! Talk about win/win.



建立状态

该项目由名为 Ghost Foundation 的非营利组织以及一组独立的。我们正在努力使出版软件改变在线新闻的形状。

注意:如果您被卡住,无法获得某些工作或需要一些帮助,请继续浏览并加入我们的 Slack社区,而不是打开一个问题。

Ghost 1.0-alpha Developer Install

请注意:这些是Ghost 1.0-alpha的安装说明,稳定。如果您正在寻找Ghost的最新版本,请查看稳定分支最新版本。如果你被卡住了,请在松弛的话题上发表评论!

安装并运行Ghost。

git clone git@github.com:TryGhost/Ghost.git ghost
    Download the Ghost code base
npm run init
    Short command for: npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init
knex-migrator init
    Creates and initialises your database
grunt dev
    Starts the express server and ember build

运行服务器测试

grunt test-all

运行客户端测试

cd core/client
ember test

详细了解开发流程

Deploying Ghost

部署Ghost的最简单方法是使用我们的官方 Ghost(Pro) 管理服务。您可以通过全球CDN,备份,安全性和维护等方式,为您提供一个新的实例,并提供几个点击。

Not only will it save you many hours per month, but all revenue goes to the Ghost Foundation, which funds the maintenance and further development of Ghost itself. So you’ll be supporting open source software and getting a great service at the same time! Talk about win/win.




相关问题推荐