https://github.com/jimmycuadra/railsapp
An application template for Rails.
https://github.com/jimmycuadra/railsapp
rails rails-template ruby
Last synced: about 2 months ago
JSON representation
An application template for Rails.
- Host: GitHub
- URL: https://github.com/jimmycuadra/railsapp
- Owner: jimmycuadra
- Created: 2011-09-12T09:07:50.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-01-05T18:35:07.000Z (over 13 years ago)
- Last Synced: 2025-01-30T03:24:59.776Z (over 1 year ago)
- Topics: rails, rails-template, ruby
- Language: Ruby
- Homepage:
- Size: 121 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# railsapp
This is an application template for Rails that sets up projects with some useful changes from a stock install.
## Features
* Ignores SimpleCov coverage directory, database.yml, and .env from Git.
* Makes example files for ones that are ignored from Git.
* Removes useless files: public.html, rails.png, and the doc and test directories.
* Changes the README to a blank Markdown file.
* Changes application asset manifest files to SCSS and CoffeeScript.
* Adds the HTML5 reset CSS with cleaned up whitespace and other small fixes.
* Moves the `javascript_include_tag` in the application layout to the bottom of the body and always loads jQuery from Google.
* Uses RSpec instead of Test::Unit.
* Uses Haml instead of ERB.
* Sets up Foreman and Guard to run your development server, RSpec + Spork, and Jasmine all with one command for continuous testing.
* Initializes a Git repository for the app.
## Usage
Given that this repository lives in ~/Code, create a new application by running:
```bash
rails new --skip-bundle -m ~/Code/railsapp/template.rb
```
To simplify this process, consider adding a Bash function, like this:
```bash
function railsapp { rails new $1 --skip-bundle -m ~/Code/railsapp/template.rb; }
```