Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
Go to file
2013-05-26 12:39:55 -05:00
content Fixing tests and adding settings provider. 2013-05-25 11:48:15 -05:00
core Fix JSLInt errors and port existing nodeunit tests to mocha 2013-05-26 12:34:05 -05:00
docs Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00
.afignore Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00
.gitignore Fix JSLInt errors and port existing nodeunit tests to mocha 2013-05-26 12:34:05 -05:00
.gitmodules switching git submodule back to using ssh 2013-05-18 20:31:15 +01:00
.groc.json Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00
.travis.yml (Even more) updates to travis setup to cope with the submodule. 2013-05-12 22:21:25 +01:00
app.js Fixing bug in registration 2013-05-26 12:38:14 +00:00
config.js Add tests for API/settings 2013-05-23 09:23:35 -03:00
config.rb Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00
Gruntfile.js Fix JSLInt errors and port existing nodeunit tests to mocha 2013-05-26 12:34:05 -05:00
LICENSE.txt Updating license 2013-05-19 15:19:48 +01:00
package.json Remove grunt-contrib-nodeunit dependency 2013-05-26 12:39:55 -05:00
README.md added readme explanations 2013-05-25 15:23:53 +01:00

Ghost v0.1.1 Build Status

Ghost is a free, open, simple blogging platform that's available to anyone who wants to use it. Created and maintained by John O'Nolan + Hannah Wolfe + an amazing group of contributors.

Visit the project's home page at http://tryghost.org!

Early-Access Developer Introduction

Welcome to the Ghost core repo. The code here is the result of a few stolen hours of free time hacking a proof of concept for the Kickstarter video. Pretty much everything is subject to and expected to change. A full list of the currently-working features can be found here.

The top priorities right now are:

  • Having a core RESTful API and consuming it internally
  • Data model design & implementation - including a potential switch from JugglingDB to bookshelf.js
  • Authentication and ACL
  • Improving core architecture & design - modular structure, better dependency injection, testable code with tests

Getting Started:

Note: It is highly recommended that you use the Ghost-Vagrant setup for developing Ghost.

  1. Clone the git repo
  2. cd into the project folder and run npm install.
    • If the install fails with errors to do with "node-gyp rebuild", follow the Sqlite3 install instructions
    • Usually if you're within vagrant, and have installed the guest plugins and updated that, this will not happen
  3. run grunt init from the root. (make sure you have Casper 1.1 installed though, or have installed bourbon on your vagrant. See Ghost-Vagrant for that)

Frontend can be located at localhost:3333, Admin is at localhost:3333/ghost

SQLite3 Install Instructions

Ghost depends upon SQLite3, which has to be built for each OS. NPM is as smart as it can be about this, and as long as your machine has all the pre-requisites for compiling/building a C++ program, the npm install still works.

For Mac users: The easiest way to do this is to download/install XCode from the App Store (free). This will automatically install all the tools you need - you don't need to open the app.

For Everyone else: if you don't have the required pre-requisites, you will need to either get them, or as a shortcut, obtain a precompiled SQLite3 package for your OS. We have created some of these here.

The pre-compiled package should be downloaded, extracted and placed in the node_modules folder, such that it lives in node_modules/sqlite3, if you have a partial install of the SQLite3 package, replace it with the files you downloaded from github. Be sure that all the SQLite3 files and folders live directly in node_modules/sqlite3 - there should note be a node_modules/sqlite3/sqlite3 folder.

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Ghost will be maintained according to the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

Constructed with the following guidelines:

  • A new major release indicates a large change where backwards compatibility is broken.
  • A new minor release indicates a normal change that maintains backwards compatibility.
  • A new patch release indicates a bugfix or small change which does not affect compatibility.

Bugs

If you have a bug or feature request, please open a new issue. Before opening any issue, please search for existing issues and read the Issue Guidelines, written by Nicolas Gallagher.

Contributions

Pleas submit pull requests in order to contribute back to Ghost - referencing any relevant or open issues in the bug tracker.

All code should conform, strictly, to the Ghost project Code Standards.

All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Community

Keep track of Ghost development and Ghost community activity.

Compiling CSS & JavaScript

A SASS compiler is required to work with the CSS in this project.

With bourbon, all you have to do is run grunt init from the root of Ghost, which will compile the admin section. For everything else, use sass <sourcefile> <targetfile>.

We also recommend CodeKit (Paid/Mac) & Scout (Free/Mac/PC).

Changelog

0.1.1

  • Added bourbon awesomeness, and various fixes as per commit history.
  • Started writing changelogs
  • Removed compass dependencies, and made grunt work again. See Installation section.

Copyright (C) 2013 Ghost

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.