Development:Setup:Linux:RHEL: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 5: Line 5:
<pre>sudo yum install git</pre>
<pre>sudo yum install git</pre>
==Get Expertiza==
==Get Expertiza==
===Expertiza Repository URLs===
====Expertiza Repository URLs====
* (ssh, read/write) git@github.com:expertiza/expertiza.git
* (ssh, read/write) git@github.com:expertiza/expertiza.git
* (https, read/write) https://github.com/expertiza/expertiza.git
* (https, read/write) https://github.com/expertiza/expertiza.git
* (git, read-only) git://github.com/expertiza/expertiza.git
* (git, read-only) git://github.com/expertiza/expertiza.git
===Default===
====Default====
<pre>git clone <remote></pre>
<pre>git clone <remote></pre>
<pre>git clone git@github.com:expertiza/expertiza.git</pre>
<pre>git clone git@github.com:expertiza/expertiza.git</pre>
===Options===
====Options====
<pre>git clone -b <branch> <remote></pre>
<pre>git clone -b <branch> <remote></pre>
<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)===
===Single User Mode (Recommended)===

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

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