padrino/padrino-recipes
About
A collection of padrino templates and plugins
Other ProjectsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalPreface
Padrino is a Ruby framework built upon the excellent Sinatra Microframework. Sinatra is a DSL for creating simple web applications in Ruby with speed and minimal effort. This framework tries hard to make it as fun and easy as possible to code much more advanced web applications by building upon the Sinatra philosophies and foundation.
The recipes consists of two types: plugins and templates. A plugin adds additional functionality to an existing Padrino project. A template can be used as a template for a completely new Padrino application.
Plugins
To run a plugin:
$ cd <path-to-my-padrino-app>
$ padrino-gen plugin <name-of-the-plugin>
- 960: Installs the 960 grid system
- access: Access Plugin via rack-contrib
- ar_permalink: Generate permalink for a specified column on ActiveRecord.
- ar_permalink_i18n: Generate permalink for a specified multi language column(s) on ActiveRecord.
- ar_textile: Full support to textile with ActiveRecord.
- ar_translate: Translate for you your ActiveRecord columns.
- auto_locale: Switch the I18n.locale automatically based on the URL.
- bulma: bulma is an open source CSS framework based on Flexbox.
- better_errors: Install the better_errors gem.
- bootstrap: Install the Bootstrap 5.3.8 files.
- bug: (rack-bug)[http://github.com/brynary/rack-bug] debugging toolbar for Rack applications.
- carrierwave: Plugin for Carrierwave.
- codehighlighter: Code highlighting via rack-codehighlighter
- deflect: Deflect (DOS protection) via rack-contrib.
- disqus: Disqus commenting system via disqus gem.
- dreamhost: Deploy your app on DreamHost.
- exception_notifier: Send errors through mail or/and to redmine via exception_notifier.
- factory_bot: A library for setting up Ruby objects as test data.
- fontawesome: Installing Font Awesome 4.7.
- goatmail: Preview mail in the browser under
/inboxin development mode with goatmail. - heroku: Prepare app for deployment to Heroku.
- letter_opener: Preview mail in the browser instead of sending vim with letter_opener.
- omniauth: Authentication Plugin for OAuth2, Facebook, Twitter, Campfire via omniauth.
- payment: Payment Plugin via rack-payment
- pry_byebug: Use pry-byebug in Padrino. Use pry_debugger plugin for MRI 1.9.3 or older.
- pry_debugger: Use pry-debugger in Padrino. Use pry_byebug plugin for MRI 2.0.0 or newer.
- raphaeljs: Add RaphaelJS libraries.
- raphy_charts: Raphy Charts - a RaphaelJS based HTML5/SVG charts library.
- resque: Add support for the resque redis based background worker.
- rewrite: Rewrite Rules via rack-rewrite.
- secure_only: Run app on https via rack-secure_only.
- vcr: Add vcr to your test suite.
- will_paginate: Add support for will_paginate.
If you want to contribute with a plugin please follow the convention of having _plugin appended to the name (i.e.
bootstrap_plugin.rb). Don't forget to put your plugin with a short explanation to the README here.
Templates
To run a template:
$ padrino-gen project my_project --template [template_path]
The templates folder contains full project generation templates. These files follow the convention of having _template appended to the name (i.e sampleblog_template.rb). Included template are:
- mongochist: templates that generate mongoid/mongomapper with machinist.
- sampleblog: sample blog tutorial.
Contribute
Feel free to fork and add on to these recipes! Check out the Padrino Framework and its git repo.
Explore related projects
Loading…