Quick-start guide
Get started quickly with Perron by adding it to your existing Rails app or start a new static site.
An existing app
Start by adding Perron:
bundle add perron
Then generate the initializer:
rails generate perron:install
This creates an initializer:
Perron.configure do |config|
config.site_name = "Helptail"
# …
end
A new site
Start a new Perron-based site by running this command:
rails new MyNewSite --minimal -T -O -m https://perron.railsdesigner.com/library/new/template.rb
This is a snippet from the Perron library, read more about this snippet here.
Create your first content
Perron works with resources, e.g. pages or posts. Learn about collections and how to generate one.
On this page