Skip to content
A starter kit for new Rails projects. Just clone this repo, and be on your merry way.
Ruby HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
package.json

README.md

Rails Starter Kit

Rails Starter Kit was created as a way to save time when starting a new Rails project. We have taken the most common functionality and configuration in our existing Rails projects, and put those into this project. Simply clone this project, and change the git remote to your remote repository. Rails Starter Kit is ready to host on Heroku.

Start using Rails Starter Kit

  1. Create a new repository on GitHub, BitBucket, or your own server
  2. Create a directory for your new project, and go into it
  3. Clone Rails Starter Kit into your new folder
  4. Change the git remote to your new repository
  5. Push changes

After creating the new repository, follow these steps in the terminal:

$ mkdir demo
$ cd demo
$ git clone git@github.com:codeisstandard/rails-starter-kit.git .
$ git remote set-url origin git@github.com:[org/repo.git]
$ git push origin master

To update the following files with your project name, run the following command in the terminal:

$ rake project:setup

This will update:

  • README.md
  • app/views/layouts/application.html.erb
  • config/database.yml
  • config/initializers/session_store.rb
  • config/application.rb

Just a couple more things before you dive in:

  • Update the mailer host in config/environments/development.rb and config/environments/production.rb

If everything goes well, you should be ready to start work on your new project.

Out-of-the-box functionality

  • Bootstrap with SASS
  • Procfile and 12factor gem for Heroku compatibility
  • Environment variables
  • Upload to S3
  • Sidekiq configuration for background processing
  • User authentication via Devise
  • Mailer configuration
  • Flash message placeholders

References

Also check out Rails Best Practices: https://github.com/codeisstandard/rails-best-practices

You can’t perform that action at this time.