Development:Setup:Linux:RHEL: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Prerequisites==
* You must have shell access
* You must have root access (via sudo), or the required software must already be installed
==Install Git==
==Install Git==
<pre>sudo yum install git</pre>
<pre>sudo yum install git</pre>
Line 13: Line 16:
<pre>git clone -b production git@github.com:expertiza/expertiza.git</pre>
<pre>git clone -b production git@github.com:expertiza/expertiza.git</pre>
==Install RVM==
==Install RVM==
===Single User Mode (Recommended)===
<pre>\curl -L https://get.rvm.io | bash -s stable</pre>
===Multi User Mode===
<pre> sudo \curl -L https://get.rvm.io | bash -s stable</pre>
==Install Ruby v. 1.8.7==
==Install Ruby v. 1.8.7==
==Create Expertiza Gemset (optional)==
==Create Expertiza Gemset (optional)==

Revision as of 16:53, 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

Single User Mode (Recommended)

\curl -L https://get.rvm.io | bash -s stable

Multi User Mode

 sudo \curl -L https://get.rvm.io | bash -s stable

Install Ruby v. 1.8.7

Create Expertiza Gemset (optional)

Install Native Expertiza Dependencies

Install Bundled Gems

Set Up MySQL

Build the Expertiza Database