Sha256: 3ef024ecd9f1f1fcea0cf301ade182e001af5a511af877edb2d17f3d5aea8171

Contents?: true

Size: 1.48 KB

Versions: 5

Compression:

Stored size: 1.48 KB

Contents

Machined
========

### Why another [static](https://github.com/mojombo/jekyll) [site](https://github.com/cloudhead/toto) [generator](https://github.com/petebrowne/massimo)?

Machined is for the developers who know and love [the asset pipeline](http://edgeguides.rubyonrails.org/asset_pipeline.html) of Rails 3.1 and want to develop blazingly fast static websites. It's built from the ground up using [Sprockets 2.0](https://github.com/search?q=sprockets).

Installation
------------

``` bash
$ gem install machined
```

Getting Started
---------------
    
``` bash
$ machined new example.com
```

This creates a directory with the default Machined project structure. More on that later. Let's start up the Machined server:

``` bash
$ cd example.com
$ machined server
```

Now that the server is running, edit your pages, assets, etc. and view the results. Most static site servers need to recompile the _entire_ site each time a request is made. Machined (well really Sprockets) is smart enough to compile only what you request, so developing is super fast.

Deploying a Static Website
--------------------------

Once you've created your site, it's time to go live. On your production box, you just need to compile the site and let Apache, Nginx, or whatever handle the serving. It'll be fast - damn fast.

``` bash
$ cd example.com
$ machined compile --environment production
```

Diving In
---------

TODO...

Copyright
---------

Copyright (c) 2011 [Peter Browne](http://petebrowne.com). See LICENSE for details.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
machined-0.2.2 README.md
machined-0.2.1 README.md
machined-0.2.0 README.md
machined-0.1.1 README.md
machined-0.1.0 README.md