https://github.com/trusche/rails_template
My Rails starter app.
https://github.com/trusche/rails_template
Last synced: 12 months ago
JSON representation
My Rails starter app.
- Host: GitHub
- URL: https://github.com/trusche/rails_template
- Owner: trusche
- Created: 2014-07-28T19:45:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T21:40:39.000Z (almost 10 years ago)
- Last Synced: 2025-01-11T03:52:05.606Z (over 1 year ago)
- Language: Ruby
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Rails Template
A basic Rails starter app with authentication and bootstrap styling.
#### Gems
* MySQL as the database
* Haml (using [haml-rails](https://github.com/haml/haml)) instead of erb for views
* Twitter Bootstrap (using [bootstrap-sass](https://github.com/twbs/bootstrap-sass) for a nice look and feel out of the box
* Authentication with [Devise](https://github.com/plataformatec/devise)
* Authorization with [CanCanCan](https://github.com/CanCanCommunity/cancancan)
* [dynamic_form](https://github.com/rails/dynamic_form) for inline error messages
* Emails are delivered to the browser with [letter_opener](https://github.com/ryanb/letter_opener) in development
* Rspec, Guard and Factory Girl for testing
#### Customizations
* All version locks have been removed in the Gemfile.
* The Devise views have been generated and adapted for bootstrap and inline error messages.
* The layout uses a basic navbar with sign in/out links.
* Turbo-links are disabled; they suck for development.
* Flash messages are markdown enabled with [BlueCloth](https://github.com/ged/bluecloth).
##### Usage
```
git clone https://github.com/trusche/rails_template your_app
cd your_app
rm -rf .git/
cp config/database.yml{.dist,} # edit as necessary
cp config/secret.yml{.dist,} # ditto
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exer rails s # voila!
```