|
| 1 | +# Poole |
| 2 | + |
| 3 | +*The Strange Case of Dr. Jekyll and Mr. Hyde* tells the story of a lawyer investigating the connection of two persons, Dr. Henry Jekyll and Mr. Edward Hyde. Chief among the novel's supporting cast is a man by the name of Mr. Poole, Dr. Jekyll's loyal butler. |
| 4 | + |
| 5 | +----- |
| 6 | + |
| 7 | +Poole is the butler for [Jekyll](http://jekyllrb.com), the static site generator. It's designed and developed by [@mdo](https://twitter.com/mdo) to provide a clear and concise foundational setup for any Jekyll site. It does so by furnishing a full vanilla Jekyll install with example templates, pages, posts, and styles. |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +See Poole in action with [the demo site](https://demo.getpoole.com). |
| 12 | + |
| 13 | +There are currently two official themes built on Poole: |
| 14 | + |
| 15 | +* [Hyde](https://hyde.getpoole.com) |
| 16 | +* [Lanyon](https://lanyon.getpoole.com) |
| 17 | + |
| 18 | +Individual theme feedback and bug reports should be submitted to the theme's individual repository. |
| 19 | + |
| 20 | + |
| 21 | +## Contents |
| 22 | + |
| 23 | +- [Usage](#usage) |
| 24 | +- [Development](#development) |
| 25 | +- [Author](#author) |
| 26 | +- [License](#license) |
| 27 | + |
| 28 | + |
| 29 | +## Usage |
| 30 | + |
| 31 | +### 1. Install dependencies |
| 32 | + |
| 33 | +Poole is built on Jekyll and uses its built-in SCSS compiler to generate our CSS. Before getting started, you'll need to install the Jekyll gem and related dependencies: |
| 34 | + |
| 35 | +```bash |
| 36 | +$ gem install jekyll jekyll-gist jekyll-sitemap jekyll-seo-tag |
| 37 | +``` |
| 38 | + |
| 39 | +**Windows users:** Windows users have a bit more work to do, but luckily [@juthilo](https://github.com/juthilo) has your back with his [Run Jekyll on Windows](https://github.com/juthilo/run-jekyll-on-windows) guide. |
| 40 | + |
| 41 | +**Need syntax highlighting?** Poole includes support for Pygments or Rouge, so install your gem of choice to make use of the built-in styling. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting). |
| 42 | + |
| 43 | +### 2a. Quick start |
| 44 | + |
| 45 | +To help anyone with any level of familiarity with Jekyll quickly get started, Poole includes everything you need for a basic Jekyll site. To that end, just download Poole and start up Jekyll. |
| 46 | + |
| 47 | +### 2b. Roll your own Jekyll site |
| 48 | + |
| 49 | +Folks wishing to use Jekyll's templates and styles can do so with a little bit of manual labor. Download Poole and then copy what you need (likely `_layouts/`, `*.html` files, `atom.xml` for RSS, and `assets/` for CSS, JS, etc.). |
| 50 | + |
| 51 | +### 3. Running locally |
| 52 | + |
| 53 | +To see your Jekyll site with Poole applied, start a Jekyll server. In Terminal, from `/poole` (or whatever your Jekyll site's root directory is named): |
| 54 | + |
| 55 | +```bash |
| 56 | +$ jekyll serve |
| 57 | +``` |
| 58 | + |
| 59 | +Open <http://localhost:4000> in your browser, and voilà. |
| 60 | + |
| 61 | +### 4. Serving it up |
| 62 | + |
| 63 | +If you host your code on GitHub, you can use [GitHub Pages](https://pages.github.com) to host your project. |
| 64 | + |
| 65 | +1. Fork this repo and switch to the `gh-pages` branch. |
| 66 | + 1. If you're [using a custom domain name](https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages), modify the `CNAME` file to point to your new domain. |
| 67 | + 2. If you're not using a custom domain name, **modify the `baseurl` in `_config.yml`** to point to your GitHub Pages URL. Example: for a repo at `github.com/username/poole`, use `http://username.github.io/poole/`. **Be sure to include the trailing slash.** |
| 68 | +3. Done! Head to your GitHub Pages URL or custom domain. |
| 69 | + |
| 70 | +No matter your production or hosting setup, be sure to verify the `baseurl` option file and `CNAME` settings. Not applying this correctly can mean broken styles on your site. |
| 71 | + |
| 72 | +## Development |
| 73 | + |
| 74 | +Poole has two branches, but only one is used for active development. |
| 75 | + |
| 76 | +- `master` for development. **All pull requests should be to submitted against `master`.** |
| 77 | +- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.** |
| 78 | + |
| 79 | +CSS is handled via Jeykll's built-in Sass compiler. Source Sass files are located in `_sass/`, included into `styles.scss`, and compile to `styles.css`. |
| 80 | + |
| 81 | +## Author |
| 82 | + |
| 83 | +**Mark Otto** |
| 84 | +- <https://github.com/mdo> |
| 85 | +- <https://twitter.com/mdo> |
| 86 | + |
| 87 | + |
| 88 | +## License |
| 89 | + |
| 90 | +Open sourced under the [MIT license](LICENSE.md). |
| 91 | + |
| 92 | +<3 |
0 commit comments