Skip to content

padrino/padrino-recipes

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Preface

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>

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:

  • angular: Template for an AngularJS app. It uses bower to manage your frontend resources.
  • lipsiasoft: template with haml/960/exception notifier and more used by LipsiaSOFT.
  • mongochist: templates that generate mongoid/mongomapper with machinist.
  • sampleblog: sample blog tutorial.
  • sampleblog_dm: sample blog tutorial with DataMapper instead of ActiveRecord.

Broken plugins

Contribute

Feel free to fork and add on to these recipes! Check out the Padrino Framework and its git repo.

About

A collection of padrino templates and plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published