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.
This fork of Ghost has Mixpanel Analytics integrated. In order to track page/post hits on your blog you need edit
core/server/controller/frontend.js like so:
// Set your MixPanel Token Here mixpanel = Mixpanel.init('48acf5a5c39b81a6cd0fd66c6ea1a66c'),
In Mixpanel you can now access slugs aka the permalink. You could setup a custom event like this:
You will need to do a
npm install against the packages.json from my repo to pull mixpanel into ghost. In case you have no idea what this means just change directory into the pulled fork and do a:
$ npm install
Now you are good to go!
The remainder of this file is the original Ghost Readme.
Quick Start Install
Make sure you've installed Node.js - We recommend the latest Node v0.10.x release.
Ghost is also compatible with Node v0.12 and io.js v1.2, but please note that these versions are more likely to run into installation problems. May contain nuts. Please use the forum for help.
- Download the latest release of Ghost
- Unzip in the location you want to install
- Fire up a terminal
npm install --production
- Start Ghost!
- Local environment:
- On a server:
npm start --production
- Local environment:
More install docs here in case you got stuck.
Developer Install (from git)
# Node v0.10.x - full support # Node v0.12.x and io.js v1.2 - partial support # # Choose wisely
git clone git://github.com/tryghost/ghost.git cd ghost
Install grunt. No prizes here.
npm install -g grunt-cli
Build the things!
Minify that shit for production?
Start your engines.
npm start ## running production? Add --production
Congrats! You made it. BTW you can also just
npm install ghost if you're into that sort of thing. NPM afficionados can also read up on using Ghost as an NPM module.
More general install docs here in case you got stuck.
The easiest way to deploy Ghost is on our official Ghost(Pro) hosted platform. This service funds the Ghost Foundation, which makes actively maintaining this project possible.
Also, you get to save yourself a lot of wasted time and headaches by deploying a new instance of Ghost to a managed server with a global content delivery network in just a few clicks.
Other options are available if you prefer playing around with servers by yourself.
Staying Up to Date
When a new version of Ghost comes out, you'll want to look over these upgrade instructions for what to do next.
You can talk to other Ghost users on our forums or chat with Ghost developers on IRC. We're on
irc.freenode.net, in the
#Ghost channel. We have a public meeting every Tuesday at 5:30pm London time.
Copyright & License
Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT license.