https://github.com/andreapavoni/picciotto
minimalistic website framework based on Padrino
https://github.com/andreapavoni/picciotto
Last synced: about 1 year ago
JSON representation
minimalistic website framework based on Padrino
- Host: GitHub
- URL: https://github.com/andreapavoni/picciotto
- Owner: andreapavoni
- Created: 2011-03-14T04:03:19.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-03-15T14:33:55.000Z (over 15 years ago)
- Last Synced: 2025-03-29T05:11:25.448Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://github.com/andreapavoni/picciotto
- Size: 182 KB
- Stars: 27
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Picciotto
A minimalistic website framework based on [Padrino](http://www.padrinorb.com/).
One step beyond to Sinatra, but far more lighter than Rails, Picciotto uses some Padrino's components to help you build hybrid static/dinamic
websites. It's mainly composed by several opinionated tools used in everyday web development.
# Features
* [Haml](http://haml-lang.com/) templating
* [Sass](http://sass-lang.com/) stylesheets
* [HTML5 Boilerplate](http://html5boilerplate.com/) layout (mostly ripped from [compass-html5-boilerplate](http://github.com/sporkd/compass-html5-boilerplate) and [compass](http://compass-style.org))
* [Rspec](http://rspec.info) tests
* semi-static pages (renders static haml files)
# Installation
Just clone this repo:
`git clone git://github.com/apeacox/picciotto.git`
# Customization
## Add semi-static pages
Picciotto spots support for *semi-static* pages out of the box, just add your HAML files under
`app/views/main/static/`
So, if you put *yourpage.html.haml*, it will be rendered as:
`http://example.com/yourpage`
**Note:** You can't put files under *main/static*'s subdirectories (ex: *app/views/main/static/some_subdir/yourfile.haml*), or you'll get a *404* page.
## Database support
By default, Picciotto has no database support because:
* Maybe you don't need it *now*, so it's better start with a bare minimum codebase
* If you need a db, then choose what really fits your needs, ORM included
## Other tools/gems
Edit *Gemfile* and add more dependencies to your needs (ex. *padrino-mailer*, database support, cucumber, etc...)
## Go further
Read [Padrino's documentation](http://www.padrinorb.com/guides) if you want to extend Picciotto to your needs.