GithubHelp home page GithubHelp logo

ghost-ui's Introduction

[Travis] [SauceLabs]

Ghost-UI is the user interface framework which is used to build the Ghost blogging platform, created and maintained by a passionate group of designers and front-end developers with the support and involvement of the Ghost community. It is structurally based on the Bootstrap framework.

To get started, check out http://ui.ghost.org!

Table of Contents

Quick Start

Three quick start options are available:

What's Included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

ghost-ui/
├── css/
│   ├── ghost-ui.css
│   └── ghost-ui.min.css
├── js/
│   ├── ghost-ui.js
│   └── ghost-ui.min.js
└── fonts/
    ├── tbc.eot
    ├── tbc.svg
    ├── tbc.ttf
    └── tbc.woff

We provide compiled CSS and JS (ghost-ui.*), as well as compiled and minified CSS and JS (ghost-ui.min.*). Fonts from are also included.

Bugs and Feature Requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

The documentation, included in this repo in the root directory, is built with Jekyll and publicly hosted on GitHub Pages at http://ui.ghost.org. The docs may also be run locally.

Running Documentation Locally

  1. If necessary, install Jekyll (requires v1.x).
  • Windows users: Read this unofficial guide to get Jekyll up and running without problems. We use Pygments for syntax highlighting, so make sure to read the sections on installing Python and Pygments.
  1. From the root /ghost-ui directory, run jekyll serve in the command line.
  • Windows users: While we use Jekyll's encoding setting, you might still need to change the command prompt's character encoding (code page) to UTF-8 so Jekyll runs without errors. For Ruby 2.0.0, run chcp 65001 first. For Ruby 1.9.3, you can alternatively do SET LANG=en_EN.UTF-8.
  1. Open http://localhost:9001 in your browser.

Learn more about using Jekyll by reading its documentation.

Compiling CSS and JavaScript

Ghost-UI uses Grunt with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed below and then check out the available Grunt commands.

Install Grunt

From the command line:

  1. Install grunt-cli globally with npm install -g grunt-cli.
  2. Navigate to the root /bootstrap directory, then run npm install. npm will look at package.json and automatically install the necessary local dependencies listed there.

When completed, you'll be able to run the various Grunt commands provided from the command line.

Unfamiliar with npm? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding.

Available Grunt Commands

$ grunt

Run grunt to run tests locally and compile the CSS and JavaScript into /dist. Uses Sass and UglifyJS.

$ grunt dist

grunt dist creates the /dist directory with compiled files. Uses Sass and UglifyJS.

$ grunt test

Runs JSHint and QUnit tests headlessly in PhantomJS (used for CI).

$ grunt watch

This is a convenience method for watching just Sass files and automatically building them whenever you save.

Troubleshooting Dependencies

Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun npm install.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development. If your pull request contains JavaScript patches or features, you must include relevant unit tests.

Community

Keep track of development and community news.

Versioning

NB: Pre-1.0 we're play pretty fast and loose with Semver

For transparency into our release cycle and in striving to maintain backward compatibility, Ghost-UI is maintained under the Semantic Versioning guidelines.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major while resetting minor and patch
  • New additions without breaking backward compatibility bumps the minor while resetting the patch
  • Bug fixes and misc changes bumps only the patch

For more information on SemVer, please visit http://semver.org/.

Copyright and License

Copyright (C) 2014 Ghost Foundation - Released under the MIT license.

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.