mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
8d8d7bdb26
refs #7489 - remove sephiroth - use knex migrator npm - goodbye bootup script - 🎨 update README - 🎨 knex migrator @ 0.0.2
108 lines
4.4 KiB
Markdown
108 lines
4.4 KiB
Markdown
<a href="https://github.com/TryGhost/Ghost"><img src="https://cloud.githubusercontent.com/assets/120485/18661790/cf942eda-7f17-11e6-9eb6-9c65bfc2abd8.png" alt="Ghost" /></a>
|
||
<a href="https://travis-ci.org/TryGhost/Ghost"><img align="right" src="https://travis-ci.org/TryGhost/Ghost.svg?branch=master" alt="Build status" /></a>
|
||
|
||
<a href="https://dev.ghost.org/lts"><img src="https://cloud.githubusercontent.com/assets/120485/18661856/0930282e-7f18-11e6-948a-00546393fd93.png" alt="Warning: Major release in progress. Expect things to be broken in master." /></a>
|
||
|
||
The project is maintained by a non-profit organisation called the **Ghost Foundation**, along with an amazing group of independent [contributors](https://github.com/TryGhost/Ghost/contributors). We're trying to make publishing software that changes the shape of online journalism.
|
||
|
||
- [Ghost.org](https://ghost.org)
|
||
- [Latest Release](https://ghost.org/developers/)
|
||
- [Support](http://support.ghost.org/)
|
||
- [Theme Docs](http://themes.ghost.org)
|
||
- [Contributing Guide](https://github.com/TryGhost/Ghost/blob/master/.github/CONTRIBUTING.md)
|
||
- [Feature Requests](http://ideas.ghost.org/)
|
||
- [Developer Blog](http://dev.ghost.org)
|
||
|
||
**NOTE: If you’re stuck, can’t get something working or need some help, please head on over and join our [Slack community](https://ghost.org/slack/) rather than opening an issue.**
|
||
|
||
|
||
|
||
# Quick Start Install
|
||
|
||
First, you’ll need **Node.js v4 LTS** or a [supported version](http://support.ghost.org/supported-node-versions/).
|
||
|
||
1. Download the [latest release](https://ghost.org/developers/) of Ghost
|
||
1. Unzip, and fire up terminal
|
||
1. `npm install --production`
|
||
1. Start Ghost!
|
||
- Local environment: `npm start`
|
||
- On a server: `npm start --production`
|
||
1. `http://localhost:2368/ghost` :tada:
|
||
|
||
More [install docs](http://support.ghost.org/installation/) here in case you get stuck.
|
||
|
||
|
||
|
||
<a name="getting-started"></a>
|
||
# Developer Install
|
||
|
||
This is for if you want to hack on Ghost core. First, you’ll need **Node.js v4 LTS** or a [supported version](http://support.ghost.org/supported-node-versions/). Then:
|
||
|
||
```bash
|
||
git clone git://github.com/tryghost/ghost.git
|
||
cd ghost
|
||
```
|
||
|
||
Install grunt
|
||
|
||
```bash
|
||
npm install -g grunt-cli
|
||
```
|
||
|
||
Install knex-migrator
|
||
|
||
```bash
|
||
npm install -g knex-migrator
|
||
```
|
||
|
||
Install Ghost
|
||
|
||
```bash
|
||
npm install
|
||
```
|
||
|
||
Build the things!
|
||
|
||
```bash
|
||
grunt init
|
||
```
|
||
|
||
Start your engines
|
||
|
||
```bash
|
||
grunt dev
|
||
```
|
||
|
||
Congrats! You made it. BTW you can also just `npm install ghost` if you're into that sort of thing. NPM aficionados can also read up on using [Ghost as an NPM module](https://github.com/TryGhost/Ghost/wiki/Using-Ghost-as-an-npm-module). More general [install docs](http://support.ghost.org/installation/) here in case you got stuck.
|
||
|
||
|
||
|
||
|
||
# Deploying Ghost
|
||
|
||
<a href="https://ghost.org/pricing"><img src="https://cloud.githubusercontent.com/assets/120485/18662071/f30da886-7f18-11e6-90f2-42c0ade79fd1.png" alt="Ghost(Pro)" /></a>
|
||
|
||
The easiest way to deploy Ghost is with our official **[Ghost(Pro)](https://ghost.org/pricing/)** 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](https://ghost.org/ghost-pro-vs-self-hosting/), 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. :trophy:
|
||
|
||
[Other options](http://support.ghost.org/deploying-ghost/) are also available if you prefer playing around with servers by yourself, of course. The freedom of choice is in your hands.
|
||
|
||
|
||
|
||
|
||
# Staying Up to Date
|
||
|
||
When a new version of Ghost comes out, you'll want to look over these [upgrade instructions](http://support.ghost.org/how-to-upgrade/) for what to do next.
|
||
|
||
You can talk to other Ghost users and developers in our [public Slack team](https://ghost.org/slack/) (it's pretty awesome). We have a public meeting every Tuesday at 5:30pm UK time.
|
||
|
||
New releases are announced on the [dev blog](http://dev.ghost.org/tag/releases/). You can subscribe by email or follow [@TryGhost_Dev](https://twitter.com/tryghost_dev) on Twitter, if you prefer your updates bite-sized and facetious. :saxophone::turtle:
|
||
|
||
|
||
|
||
|
||
# Copyright & License
|
||
|
||
Copyright (c) 2013-2016 Ghost Foundation - Released under the [MIT license](LICENSE).
|