Development:Setup:Linux:RHEL: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 29: Line 29:


====Post-Installation====
====Post-Installation====
=====Is RVM a Function?=====
<pre>$ type rvm | head -1
rvm is a shell function</pre>
=====Make sure all the dependencies are met for RVM=====
=====Make sure all the dependencies are met for RVM=====
<pre>rvm requirements</pre>
<pre>rvm requirements</pre>

Revision as of 17:04, 3 January 2013

Prerequisites

  • You must have shell access
  • You must have root access (via sudo), or the required software must already be installed

Install Git

sudo yum install git

Get Expertiza

Expertiza Repository URLs

Default

git clone <remote>
git clone git@github.com:expertiza/expertiza.git

Options

git clone -b <branch> <remote>
git clone -b production git@github.com:expertiza/expertiza.git

Install RVM

RVM Install

Single User Mode (Recommended)

\curl -L https://get.rvm.io | bash -s stable
Load RVM as a Function
source ~/.rvm/bin/rvm

Multi User Mode

\curl -L https://get.rvm.io | sudo bash -s stable
Load RVM as a Function
source /etc/profile

Post-Installation

Is RVM a Function?
$ type rvm | head -1
rvm is a shell function
Make sure all the dependencies are met for RVM
rvm requirements

Install Ruby v. 1.8.7

Create Expertiza Gemset (optional)

Install Native Expertiza Dependencies

Install Bundled Gems

Set Up MySQL

Build the Expertiza Database