/railsready

A framework for a new Ruby on Rails project for setting up the development environment.

Primary LanguageShellMIT LicenseMIT

railsready

RailsReady Build Status - Circle CI RailsReady MIT license

Script to set up a new Ruby on Rails development environment.

Requirements

  • Git, 2.5+.
  • Ruby, preferably version 2.2.3.
  • MySQL, 5.6+ or PostgreSQL, 9.4+.

Installation

Install railsready

  1. Create bin directory to add to PATH:

     $ mkdir -p ~/.bin
    
  2. Add railsready to it:

     $ curl -so ~/.bin/railsready https://raw.githubusercontent.com/rfsfrn/railsready/master/railsready
    
  3. Make it executable:

     $ chmod +x ~/.bin/railsready
    
  4. Add ~/.bin to your $PATH, e.g.:

     $ echo 'export PATH=$HOME/.bin:$PATH' >> ~/.bash_profile
     $ source ~/.bash_profile
    

Usage

Creating the Rails Application

Paste the following commands at a Terminal prompt.

cd
mkdir -p Workspace/railsapps && cd $_
railsready test_app

Author

License

This software is released under the MIT License, see LICENSE.