https://github.com/railsware/template
Rails project template
https://github.com/railsware/template
Last synced: 11 months ago
JSON representation
Rails project template
- Host: GitHub
- URL: https://github.com/railsware/template
- Owner: railsware
- Created: 2009-03-31T18:33:59.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2010-04-08T13:11:56.000Z (almost 16 years ago)
- Last Synced: 2025-01-01T21:23:06.389Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 613 KB
- Stars: 1
- Watchers: 52
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. Railsware Application Template
This is template application that includes some low-level functionality and rails plugins/gems set that is not included with Rails, but used in most of projects we do.
Purpose of this template is reducing time of starting new projects up and using stable and easy to use tools in it.
h2. Contents
# "Ruby on Rails":http://rubyonrails.org/ v2.3.5 - Latest stable version of Rails 2.x
# "Authlogic":http://github.com/binarylogic/authlogic and "ACL9":http://github.com/be9/acl9 - advanced authentication and authorization solutions. Also implemented example of user registration/login and authorization restrictions using these tools.
# "RSpec":http://rspec.info/, "RSpec-Rails":http://rspec.info/rails/, "Remarkable":http://github.com/carlosbrando/remarkable, "Mocha":http://mocha.rubyforge.org/ - Set of different tools for unit-testing Rails application with RSpec BDD framework.
# "Factory Girl":http://github.com/thoughtbot/factory_girl - Fixture replacement for focused and readable tests
# "Webrat":http://wiki.github.com/brynary/webrat/ - Webrat lets you quickly write robust and thorough acceptance tests for a web application. By leveraging the DOM, it can run tests similarly to an in-browser testing solution without the associated performance hit (and browser dependency).
# Rake task for continuous integration with "CruiseControl.rb":http://cruisecontrolrb.thoughtworks.com/ and RSpec.
# "HopToad":http://hoptoadapp.com/ is a web based service which collects errors generated by other web applications, and aggregates the results for developer review.
# "NewRelic RPM":http://www.newrelic.com/ is an on-demand Web application performance management solution that lets you see inside a production Java, Ruby, or JRuby application deployed in a cloud or in a datacenter. It is free in development mode and paid for using in production/staging mode.
# "Web App Theme":http://github.com/pilu/web-app-theme - simple theme for admin web apps.
# "Rescue from template patch":http://github.com/iSabanin/rescue_from_templates_exceptions - Rails plugin that allows usage of rescue_from for views exceptions.
# "Limerick rake":http://github.com/thoughtbot/limerick_rake - a collection of useful rake tasks
# "Annotate Models":http://github.com/ctran/annotate_models - add a comment summarizing the current schema to the top of each ActiveRecord model source file.
# "JRails":http://github.com/aaronchi/jrails is a drop-in jQuery replacement for Prototype/script.aculo.us on Rails. Using jRails, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library.
# "Less JS Routes":http://github.com/stevenbristol/less-js-routes - use Rails routes inside of client-side JavaScript. LessJsRoutes will generate a javascript file with functions that give you the path to the route
and functions that will call these routes using ajax (uses jQuery or Prototype).
# YAML config with "SettingsLogic":http://github.com/binarylogic/settingslogic - external config for storing application settings (both common for all environments and per-environment ones) and some syntax sugar on top of it.
# "Will Paginate":http://wiki.github.com/mislav/will_paginate/ - de-facto Rails standard for pagination.
# "EZ_Where":http://github.com/ezmobius/ez-where - query/conditions builder for ActiveRecord and other ORMS. In other words it is a syntax sugar around ActiveRecord 2.x for doing human-readable advanced ORM requests.
# "Formtastic":http://github.com/justinfrench/formtastic - a Rails form builder plugin with semantically rich and accessible markup.
# "Semantic Menu":http://github.com/danielharan/semantic-menu - a plugin to make rails menus easier to write
# "Foreign Key Migrations":http://github.com/perfectline/foreign_keys - Provides foreign key support for MySQL and PostgreSQL adapters in Rails.
# "AASM":http://github.com/rubyist/aasm - state machines for Ruby classes.
# Set of "Capistrano":http://www.capify.org/index.php/Capistrano deployment scripts supporting multiple Rails environments (production and staging by default) and optimized for deploying rails apps for Passenger application server.
h2. Usage
* Clone application.
* (optional) Place your local configuration (if needed) to _config/initializers/local_initializer.rb_, you can watch _config/initializers/local_initializer.rb.example_ as an example.
* Set database params in database.yml (like always with Rails)
* (optional) Change session key/secret in _config/initializers/session_store.rb_
* Run _sudo rake gems:install_ and _sudo rake gems:install RAILS_ENV=test_ to install required gems
* Run _rake db:create_ _rake db:migrate_ and _rake db:seed_ to create and fill development database
* (optional) If you're using HopToad place its API key in _config/initializers/hoptoad.rb_
* (optional) Put you license key in _config/newrelic.yml_ if you're using NewRelic in production/staging/etc environments
* Review _config/config.yml_ and _config/locales/en.yml_ to match your application settings.
h2. Requirements
# Ruby v1.8.6 or v1.8.7
# RubyGems v1.3.6+
# Rails v2.3.5