Git Product home page Git Product logo

railsready's Introduction

#Rails Ready ###Ruby and Rails setup script for Linux and OSX ###Distros supported:

  • Ubuntu
  • CentOS 5 (utilizes the Fedora EPEL repo)
  • OSX (requires XCode/GCC to be installed. Install command line tools via XCode->preferences to install GCC)

###To run: ####Linux

  • wget --no-check-certificate https://raw.githubusercontent.com/joshfng/railsready/master/railsready.sh && bash railsready.sh

####OSX

  • curl -O https://raw.githubusercontent.com/joshfng/railsready/master/railsready.sh && bash railsready.sh

The script will ask if you want to build Ruby from source or install RVM

###What this gives you:

  • Homebrew (OSX only)
  • Ruby 2.1.0 latest patch level (installed to /usr/local/bin/ruby) or RVM running 2.1.0 latest patch level
  • libs needed to run Rails (sqlite, mysql, etc)
  • Bundler, Passenger, and Rails gems
  • Git

Please note: If you are running on a super slow connection your sudo session may timeout and you'll have to enter your password again. If you're running this on an EC2 or RS instance it shouldn't be problem.

Just install either NGINX or Apache, then run passenger-install-nginx-module or passenger-install-apache2-module from bash prompt, upload your app, point your vhost config to your apps public dir and go!

####Rails Ready now supports a "plugin" type system. The distro is detected and a corresponding "recipe" file is pulled down to run the distro specific setup steps. Check the recipes dir to see if your distro is supported. If you would like to add support for a system fork the repo, write a recipe, and submit a pull request. Take a look at recipes/ubuntu.sh for an idea of what to model your recipe after.

If you use this or have any suggestions let me know [email protected] or @joshfng on Twitter

railsready's People

Contributors

larzconwell avatar dqian avatar rmm5t avatar waldyr avatar just-another-brick-in-the-wall avatar cmartyn avatar jrgifford avatar leocassarani avatar fakemelvynkim avatar rdsoze avatar skalarproduktraum avatar vladvinnikov avatar wadtech avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.