Sha256: a6dc8bc4f84f1f06fc68dca3ef593bb2045e9f3f9a5b9fd3393f165db66bbfe0

Contents?: true

Size: 811 Bytes

Versions: 3

Compression:

Stored size: 811 Bytes

Contents

# Petrie

Pages for your Rails app. Includes support for ActiveAdmin and Sir Trevor. Built for Rails 4.

![Admin](screenshot-activeadmin.png?raw=true)

## Install

    gem install petrie

or add to your Gemfile

    gem 'petrie'

Then run the installer

    rails g petrie:install
    rake db:migrate

## ActiveAdmin

**Heads up!** You need to have ActiveAdmin installed first!

    rails g petrie:activeadmin

# Caution

Petrie includes a root route to `pages#home`. Generally, this shouldn't be a problem unless you don't want to use a marketing home page as your root.

# Known issues

* There are missing blocks in sir-trevor-rails that will cause template errors. The workaround is to create these blocks in your application in `app/views/sir-trevor/blocks` until this gets fixed.

## License

MIT License

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
petrie-0.1.3 README.md
petrie-0.1.2 README.md
petrie-0.1.1 README.md