Sha256: 6c77eea4d076846ee5f226c6d7affee62b9115cfff03cb5d93d20ee247c09428

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

# tufte

[![Build Status](https://travis-ci.org/mxhold/tufte.svg?branch=master)](https://travis-ci.org/mxhold/tufte)

tufte is a minimal static site generator ideal for getting a blog running
quickly with:

  - [tufte-css](https://github.com/edwardtufte/tufte-css) for style
  - [redcarpet](https://github.com/vmg/redcarpet) for Markdown rendering
  - [rouge](https://github.com/jneen/rouge) for syntax highlighting

See it in action at <https://maxwellholder.com>.

## Getting started

You'll need [Ruby](https://www.ruby-lang.org) and [Bundler](http://bundler.io/)
installed first.

Make a new directory for your blog and `cd` to it:

    mkdir blog/
    cd blog/

Add a `Gemfile` for the current version of tufte (make sure to commit this along
with your `Gemfile.lock` for reproducable builds).

    echo 'source "https://rubygems.org"\n\ngem "tufte", "~> 1.0"' > Gemfile
    bundle install

Add binstubs so you don't have to prefix commands with `bundle exec`:

    bundle binstubs tufte

Initialize a new blog and create scaffold files in the current directory:

    bin/tufte init

Generate HTML pages from the templates:

    bin/tufte build

Run a local server to view your blog at <http://localhost:9292> (this is a
simple wrapper around `rackup` so you can pass any options you normally use for
[Rack](https://github.com/rack/rack) such as `-p 4000` to run on port 4000):

    bin/tufte serve

At this point you can edit the files in `templates/` and `posts/` to your
liking, running `bin/tufte build` after each change until you are satisfied with
your new blog.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tufte-1.0.0 README.md