Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

How to shoot a fly with a cannon

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

Railsgun

How to shoot a fly with a cannon - or take a sledgehammer to crack a nut.

Railsgun is a "pico" framework Rails based for creating quick and simple static websites.

That's a rushed release :)

Features

  • hierarchy organized pages via yaml conf file
  • multilanguage site - like yoursite.com/it/pagine-italiane and yoursite.com/en/english-pages
  • pretty urls
  • built with Ruby on Rails
  • UJS (unobtrusive javascript) ready
  • Heroku ready
  • Integrated AWS S3/Cloudfront assets deployment
  • Caching

To-do

  • a lot of documentation
  • a lot of tests

Raquirements:

  • Ruby 1.8.7 or 1.9.2
  • Rails 3.0.5
  • Some gems - check Gemfile

Installation

  1. run git clone https://github.com/cantierecreativo/railsgun.git
  2. run gem install rails bundler
  3. run cd railsgun
  4. edit config/database.yml according to your configuration
  5. run bundle install
  6. run rake db:reset
  7. run rake pages_tree:generate

Usage

  • Generate pages tree via db/pages_tree.yml and then run rake pages_tree:generate
  • Fill layouts and views partials

Credits

Funded and developed by Cantiere Creativo

All the credits to the respective owners/devopers of gems/plugins/scripts used.

Contributors

Something went wrong with that request. Please try again.