Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

tonycoco/rails_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rails Template

This is a Ruby on Rails template to get you going with Devise/RSpec/Cucumber/HAML and the Twitter Bootstrap. It provides some useful defaults, helpers and sets you up for a quick Heroku deployment with Amazon S3 support as well. It is meant to be a bootstrap to get an app off the ground quickly. It does not have options or support to turn features off. Maybe that will be added but, for now, if you don't need something that the template generates, just remove it.

Useage

rails new APP_NAME -T -d mysql -m https://github.com/tonycoco/rails_template/raw/master/rails_template.rb

Customization

Look for all instances of CHANGEME in the generated application and make sure you have these environment variables...

FACEBOOK_APP_ID
FACEBOOK_APP_SECRET
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

Note: If you're using rbenv, check out rbenv-vars.

If you are customizing this template, you can use any methods provided by Thor::Actions and Rails::Generators::Actions

Workers

To start the UserWorker use the foreman gem...

bundle exec foreman start worker

Notes

This template assumes you already have Rails and a basic understanding of building an application. If you'd like to help, just fork and send a pull-request!

About

Bootstrap a Ruby on Rails application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published