Skip to content

standardco/rails-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A starter kit for new Rails projects. Just clone this repo, and be on your merry way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •