Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Speedrail

Application template for starting new rails applications with the technologies I like.

Includes:

  1. Rails 5
  • Bootstrap 3
  1. Testing (with RSpec)
  • Capybara configured for feature tests
  • Factory Girl
  • Pry

Usage

Prerequisites:

  1. To automatically create git repositor, 2 environment variables need to be set: GITHUB_USER and GITHUB_TOKEN.
  1. Postgres must be installed. E.g. brew install postgres on MacOS
rails new <app name> --template speedrail/template.rb

Tips

To set global defaults for new rails projects, create ~/.railsrc with suitable command line flags for you. Mine are:

--skip-test-unit
--skip-bundle
--database=postgresql
--skip-keeps

Future developments

Currently this is just plain rails app with couple cleanup & added gems. Cleaner solution would be to package it as a gem and provide generators with configurations.

Features to add:

  • instead of hard copy, see how it could be implemented using rails generators
  • automatic CI integration
  • setting application name

About

Basic rails app with all necessary tools set up to get up to speed fast

Resources

Releases

No releases published

Packages

No packages published