<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ajkofink</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ajkofink"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Ajkofink"/>
	<updated>2026-05-09T18:39:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Deploying_to_Production&amp;diff=97136</id>
		<title>Deploying to Production</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Deploying_to_Production&amp;diff=97136"/>
		<updated>2015-08-28T21:31:12Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Once you have all your changes merged into the master branch, you will want to deploy them to production once they have been reviewed by the rest of the team. Deploying is rather simple:&lt;br /&gt;
* Run the following from your project directory once you have your [[How to Add SSH Keys to the Expertiza Production Server|public/private key pair set up]] with the rails user:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;bundle exec cap production deploy&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=88893</id>
		<title>Development:Setup:Linux:RHEL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=88893"/>
		<updated>2014-10-04T18:06:59Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel sqlite-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz sqlite-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=88892</id>
		<title>Development:Setup:Linux:RHEL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=88892"/>
		<updated>2014-10-04T18:06:06Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel sqlite-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84928</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84928"/>
		<updated>2014-08-27T13:41:17Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Rails 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Rails 3 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 # Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 # Leave this tunnel open while executing the following commands.&lt;br /&gt;
 bundle exec cap proxy load_data&lt;br /&gt;
 # When prompted to log in:&lt;br /&gt;
 # Proxy server: localhost&lt;br /&gt;
 # Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
 # Port: 22&lt;br /&gt;
 # Password: &amp;lt;realm pw.&amp;gt;&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rails 4 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 # Create tunnel in another window:&lt;br /&gt;
  ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 # Leave this tunnel open while executing the following commands.]&lt;br /&gt;
 bundle exec cap proxy db:pull&lt;br /&gt;
 #  When prompted to log in:&lt;br /&gt;
 #   Proxy server: localhost&lt;br /&gt;
 #    Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
 #    Port: 22&lt;br /&gt;
 #   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84927</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84927"/>
		<updated>2014-08-27T13:40:25Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Rails 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Rails 3 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 # Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 # Leave this tunnel open while executing the following commands.&lt;br /&gt;
 bundle exec cap proxy load_data&lt;br /&gt;
 # When prompted to log in:&lt;br /&gt;
 # Proxy server: localhost&lt;br /&gt;
 # Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
 # Port: 22&lt;br /&gt;
 # Password: &amp;lt;realm pw.&amp;gt;&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rails 4 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 [Create tunnel in another window:&lt;br /&gt;
  ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
  Leave this tunnel open while executing the following commands.]&lt;br /&gt;
 bundle exec cap proxy db:pull&lt;br /&gt;
  [When prompted to log in:&lt;br /&gt;
    Proxy server: localhost&lt;br /&gt;
    Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
    Port: 22&lt;br /&gt;
    Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84926</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84926"/>
		<updated>2014-08-27T13:39:48Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Rails 3 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 # Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 Leave this tunnel open while executing the following commands.&lt;br /&gt;
 bundle exec cap proxy load_data&lt;br /&gt;
 [When prompted to log in:&lt;br /&gt;
   Proxy server: localhost&lt;br /&gt;
   Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
   Port: 22&lt;br /&gt;
   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rails 4 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
 bundle install&lt;br /&gt;
 bundle exec cap -v&lt;br /&gt;
 ruby -v&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 rvm use 1.8.7&lt;br /&gt;
 rails -v&lt;br /&gt;
 bundle exec rails -v&lt;br /&gt;
 bundle exec rake db:setup&lt;br /&gt;
 [Create tunnel in another window:&lt;br /&gt;
  ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
  Leave this tunnel open while executing the following commands.]&lt;br /&gt;
 bundle exec cap proxy db:pull&lt;br /&gt;
  [When prompted to log in:&lt;br /&gt;
    Proxy server: localhost&lt;br /&gt;
    Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
    Port: 22&lt;br /&gt;
    Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
 bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84924</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84924"/>
		<updated>2014-08-27T13:38:07Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Rails 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Rails 3 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
bundle exec cap -v&lt;br /&gt;
ruby -v&lt;br /&gt;
source /etc/profile&lt;br /&gt;
rvm use 1.8.7&lt;br /&gt;
rails -v&lt;br /&gt;
bundle exec rails -v&lt;br /&gt;
bundle exec rake db:setup&lt;br /&gt;
# Create tunnel in another window:&lt;br /&gt;
ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 Leave this tunnel open while executing the following commands.&lt;br /&gt;
bundle exec cap proxy load_data&lt;br /&gt;
 [When prompted to log in:&lt;br /&gt;
   Proxy server: localhost&lt;br /&gt;
   Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
   Port: 22&lt;br /&gt;
   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rails 4 ==&lt;br /&gt;
cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
bundle exec cap -v&lt;br /&gt;
ruby -v&lt;br /&gt;
source /etc/profile&lt;br /&gt;
rvm use 1.8.7&lt;br /&gt;
rails -v&lt;br /&gt;
bundle exec rails -v&lt;br /&gt;
bundle exec rake db:setup&lt;br /&gt;
[Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 Leave this tunnel open while executing the following commands.]&lt;br /&gt;
bundle exec cap proxy db:pull&lt;br /&gt;
 [When prompted to log in:&lt;br /&gt;
   Proxy server: localhost&lt;br /&gt;
   Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
   Port: 22&lt;br /&gt;
   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
bundle exec rake db:migrate&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84923</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84923"/>
		<updated>2014-08-27T13:36:55Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Rails 3 ==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
bundle exec cap -v&lt;br /&gt;
ruby -v&lt;br /&gt;
source /etc/profile&lt;br /&gt;
rvm use 1.8.7&lt;br /&gt;
rails -v&lt;br /&gt;
bundle exec rails -v&lt;br /&gt;
bundle exec rake db:setup&lt;br /&gt;
[Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 Leave this tunnel open while executing the following commands.]&lt;br /&gt;
bundle exec cap proxy load_data&lt;br /&gt;
 [When prompted to log in:&lt;br /&gt;
   Proxy server: localhost&lt;br /&gt;
   Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
   Port: 22&lt;br /&gt;
   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
bundle exec rake db:migrate&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rails 4 ==&lt;br /&gt;
cd &amp;lt;your_github_repository&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
bundle exec cap -v&lt;br /&gt;
ruby -v&lt;br /&gt;
source /etc/profile&lt;br /&gt;
rvm use 1.8.7&lt;br /&gt;
rails -v&lt;br /&gt;
bundle exec rails -v&lt;br /&gt;
bundle exec rake db:setup&lt;br /&gt;
[Create tunnel in another window:&lt;br /&gt;
 ssh -L 127.0.0.1:2222:expertiza.ncsu.edu:22 &amp;lt;your-realm-id&amp;gt;@remote.eos.ncsu.edu&lt;br /&gt;
 Leave this tunnel open while executing the following commands.]&lt;br /&gt;
bundle exec cap proxy db:pull&lt;br /&gt;
 [When prompted to log in:&lt;br /&gt;
   Proxy server: localhost&lt;br /&gt;
   Login: &amp;lt;your-realm-id&amp;gt;&lt;br /&gt;
   Port: 22&lt;br /&gt;
   Password: &amp;lt;realm pw.&amp;gt;]&lt;br /&gt;
bundle exec rake db:migrate&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84921</id>
		<title>Downloading Production Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Downloading_Production_Data&amp;diff=84921"/>
		<updated>2014-08-27T13:32:41Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Created page with &amp;quot;Rails 3:  Rails 4:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Rails 3:&lt;br /&gt;
&lt;br /&gt;
Rails 4:&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=84920</id>
		<title>MainPage</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=84920"/>
		<updated>2014-08-27T13:32:01Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Production */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Course-Specific Topics==&lt;br /&gt;
* [[CSC 216]] learning exercise&lt;br /&gt;
* [[CSC 379]]&lt;br /&gt;
* [[CSC/ECE 506 Fall 2007]]&lt;br /&gt;
* [[ECE506_Main_Page | CSC/ECE 506 Main Portal]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2007]]&lt;br /&gt;
* [[CSC/ECE 517 Summer 2008]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2010]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2011]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2012]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2013]]&lt;br /&gt;
* [[CSC/ECE 517 Spring 2014]]&lt;br /&gt;
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]&lt;br /&gt;
* [[ECE 633]]&lt;br /&gt;
* [[KCU]]&lt;br /&gt;
* [[Progress reports]]&lt;br /&gt;
&lt;br /&gt;
==Application Behavior==&lt;br /&gt;
* [[Grading]]&lt;br /&gt;
&lt;br /&gt;
==Metaprogramming==&lt;br /&gt;
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''&lt;br /&gt;
&lt;br /&gt;
* [[Setting Up a Development Machine]]&lt;br /&gt;
* [[Creating a Linux Development Environment for Expertiza - Installation Guide]]&lt;br /&gt;
* [[Using git and github for projects]]&lt;br /&gt;
* [[Using heroku to deploy your projects]]&lt;br /&gt;
* [[How to Begin a Project from the Current Expertiza Repository]]&lt;br /&gt;
* [[Git]]&lt;br /&gt;
* [[How to Change a User's Password on a Development Machine]]&lt;br /&gt;
* [[Debugging Rails]]&lt;br /&gt;
&lt;br /&gt;
==Production==&lt;br /&gt;
* [[Deploying to Production]]&lt;br /&gt;
* [[Downloading Production Data]]&lt;br /&gt;
* [[Accessing the Production Server]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
* [[Using Cucumber with Expertiza]]&lt;br /&gt;
* [[Rails Testing Overview]]&lt;br /&gt;
* [[Expertiza Continuous Integration]]&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
* [[Object-Oriented Design and Programming]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=75213</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=75213"/>
		<updated>2013-04-27T15:50:57Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common Git Idioms Used in Expertiza ==&lt;br /&gt;
=== Merging Code Which is Not Derived from the Full History of Expertiza via Fork ===&lt;br /&gt;
# Pull their code in as a new remote (ie. rogue). It won't connect to our history line, but we can create a branch there (ie. stray) for comparison.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote add rogue https://github.com/rogue/roguespertiza...&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray rogue/master&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Create another temporary branch (ie. stray0) as a reference point for their first commit.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray0 $(git rev-list stray|tail -n1)&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Determine a range of commits that could be potentially have been their starting point. I used git log and looked for a commit around the semester start date (ie. a000000) and after when they submitted their work (ie. f999999). Compare the size of the diff (number of lines in the diff, using wc -l) between stray0 and each commit in the range. Find the commit in our history with the minimum diff size with their work. If it's the first or last commit in the list, increase your commit range, they probably started outside your search range.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;for commit in $(git log a000000..f999999 --pretty=%h); do echo $commit $(git diff stray0 $commit | wc -l); done&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Let's say we found that commit c444444 was the commit with the smallest diff size. That becomes our branching point where we want to move all the commits from the stray branch.&lt;br /&gt;
# Create a new copied branch where stray0 is, and move it with its tree state to our history line. Then re-create the commit. (Please don't really name it &amp;quot;copied&amp;quot;... give the branch a meaningful name like E713-custom-rubric)&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git checkout stray0 -b copied&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git reset --soft c444444&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git commit -m &amp;quot;(original commit message)&amp;quot; --author=&amp;quot;Original Author &amp;lt;and@email&amp;gt;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now cherry-pick (copy) the rest of stray's commits onto the copied branch that we just moved to our history line.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git cherry-pick stray0..stray&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Clean out the remote and branches we added in the process:&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rm rogue&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git br -D stray stray0&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now your copied branch contains all the commits from the project and is based on the project's original start point in our history line. At this point it can be tested, modified, and pushed as usual.&lt;br /&gt;
== Other Helpful Pages ==&lt;br /&gt;
* [[Using git and github for projects]]&lt;br /&gt;
* [https://gist.github.com/piscisaureus/3342247 Checkout Github Pull Requests Locally]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75079</id>
		<title>Debugging Rails</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75079"/>
		<updated>2013-04-21T16:08:24Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide assumes that you are working from the command line to debug Ruby and Rails applications.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To start debugging, you can run &amp;lt;code&amp;gt;rdebug script/server&amp;lt;/code&amp;gt; from the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
=== Using Rdebug ===&lt;br /&gt;
You can ask rdebug for help by typing &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; in the rdb console.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(rdb:1) help&lt;br /&gt;
ruby-debug help v0.10.4&lt;br /&gt;
Type 'help &amp;lt;command-name&amp;gt;' for help on a specific command&lt;br /&gt;
&lt;br /&gt;
Available commands:&lt;br /&gt;
backtrace  delete   enable  help  method  putl     set     trace    &lt;br /&gt;
break      disable  eval    info  next    quit     show    undisplay&lt;br /&gt;
catch      display  exit    irb   p       reload   step    up       &lt;br /&gt;
condition  down     finish  kill  pp      restart  thread  var      &lt;br /&gt;
continue   edit     frame   list  ps      save     tmate   where&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are familiar with gdb, the general commands are very similar.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* http://guides.rubyonrails.org/debugging_rails_applications.html&lt;br /&gt;
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75078</id>
		<title>Debugging Rails</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75078"/>
		<updated>2013-04-21T16:07:38Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Getting Started */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To start debugging, you can run &amp;lt;code&amp;gt;rdebug script/server&amp;lt;/code&amp;gt; from the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
=== Using Rdebug ===&lt;br /&gt;
You can ask rdebug for help by typing &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; in the rdb console.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(rdb:1) help&lt;br /&gt;
ruby-debug help v0.10.4&lt;br /&gt;
Type 'help &amp;lt;command-name&amp;gt;' for help on a specific command&lt;br /&gt;
&lt;br /&gt;
Available commands:&lt;br /&gt;
backtrace  delete   enable  help  method  putl     set     trace    &lt;br /&gt;
break      disable  eval    info  next    quit     show    undisplay&lt;br /&gt;
catch      display  exit    irb   p       reload   step    up       &lt;br /&gt;
condition  down     finish  kill  pp      restart  thread  var      &lt;br /&gt;
continue   edit     frame   list  ps      save     tmate   where&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are familiar with gdb, the general commands are very similar.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* http://guides.rubyonrails.org/debugging_rails_applications.html&lt;br /&gt;
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75077</id>
		<title>Debugging Rails</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75077"/>
		<updated>2013-04-21T16:07:04Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Using Rdebug */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To start debugging, you can run &amp;lt;code&amp;gt;rdebug script/server&amp;lt;/code&amp;gt; from the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
=== Using Rdebug ===&lt;br /&gt;
You can ask rdebug for help by typing &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; in the rdb console.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(rdb:1) help&lt;br /&gt;
ruby-debug help v0.10.4&lt;br /&gt;
Type 'help &amp;lt;command-name&amp;gt;' for help on a specific command&lt;br /&gt;
&lt;br /&gt;
Available commands:&lt;br /&gt;
backtrace  delete   enable  help  method  putl     set     trace    &lt;br /&gt;
break      disable  eval    info  next    quit     show    undisplay&lt;br /&gt;
catch      display  exit    irb   p       reload   step    up       &lt;br /&gt;
condition  down     finish  kill  pp      restart  thread  var      &lt;br /&gt;
continue   edit     frame   list  ps      save     tmate   where&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* http://guides.rubyonrails.org/debugging_rails_applications.html&lt;br /&gt;
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75076</id>
		<title>Debugging Rails</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75076"/>
		<updated>2013-04-21T16:06:42Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To start debugging, you can run &amp;lt;code&amp;gt;rdebug script/server&amp;lt;/code&amp;gt; from the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
=== Using Rdebug ===&lt;br /&gt;
You can ask rdebug for help by typing &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; in the rdb console.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(rdb:1) help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* http://guides.rubyonrails.org/debugging_rails_applications.html&lt;br /&gt;
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75075</id>
		<title>Debugging Rails</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Debugging_Rails&amp;diff=75075"/>
		<updated>2013-04-21T16:05:19Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Created page with &amp;quot;You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt; To start debugging, you can run &amp;lt;code&amp;gt;rdebug scri...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can use rdebug for debugging Expertiza. The gem is already installed for you when you run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To start debugging, you can run &amp;lt;code&amp;gt;rdebug script/server&amp;lt;/code&amp;gt; from the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* http://guides.rubyonrails.org/debugging_rails_applications.html&lt;br /&gt;
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=75074</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=75074"/>
		<updated>2013-04-21T16:03:12Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common Git Idioms Used in Expertiza ==&lt;br /&gt;
=== Merging Code Which is Not Derived from the Full History of Expertiza via Fork ===&lt;br /&gt;
# Pull their code in as a new remote (ie. rogue). It won't connect to our history line, but we can create a branch there (ie. stray) for comparison.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote add rogue https://github.com/rogue/roguespertiza...&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray rogue/master&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Create another temporary branch (ie. stray0) as a reference point for their first commit.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray0 $(git rev-list stray|tail -n1)&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Determine a range of commits that could be potentially have been their starting point. I used git log and looked for a commit around the semester start date (ie. a000000) and after when they submitted their work (ie. f999999). Compare the size of the diff (number of lines in the diff, using wc -l) between stray0 and each commit in the range. Find the commit in our history with the minimum diff size with their work. If it's the first or last commit in the list, increase your commit range, they probably started outside your search range.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;for commit in $(git log a000000..f999999 --pretty=%h); do echo $commit $(git diff stray0 $commit | wc -l); done&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Let's say we found that commit c444444 was the commit with the smallest diff size. That becomes our branching point where we want to move all the commits from the stray branch.&lt;br /&gt;
# Create a new copied branch where stray0 is, and move it with its tree state to our history line. Then re-create the commit. (Please don't really name it &amp;quot;copied&amp;quot;... give the branch a meaningful name like E713-custom-rubric)&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git checkout stray0 -b copied&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git reset --soft c444444&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git commit -m &amp;quot;(original commit message)&amp;quot; --author=&amp;quot;Original Author &amp;lt;and@email&amp;gt;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now cherry-pick (copy) the rest of stray's commits onto the copied branch that we just moved to our history line.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git cherry-pick stray0..stray&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Clean out the remote and branches we added in the process:&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rm rogue&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git br -D stray stray0&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now your copied branch contains all the commits from the project and is based on the project's original start point in our history line. At this point it can be tested, modified, and pushed as usual.&lt;br /&gt;
== Other Helpful Pages ==&lt;br /&gt;
* [[Using git and github for projects]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Setting_Up_a_Development_Machine&amp;diff=75073</id>
		<title>Setting Up a Development Machine</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Setting_Up_a_Development_Machine&amp;diff=75073"/>
		<updated>2013-04-21T16:02:15Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Development:Setup:Linux:RHEL]], CentOS, Fedora&lt;br /&gt;
* [[Development:Setup:Linux:Debian]], Ubuntu&lt;br /&gt;
* [[Development:Setup:OSX]]&lt;br /&gt;
* [[Development:Setup:Windows:7]]&lt;br /&gt;
&lt;br /&gt;
==Other Helpful Pages==&lt;br /&gt;
* [[Git]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Setting_Up_a_Development_Machine&amp;diff=75072</id>
		<title>Setting Up a Development Machine</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Setting_Up_a_Development_Machine&amp;diff=75072"/>
		<updated>2013-04-21T16:02:03Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Development:Setup:Linux:RHEL]], CentOS, Fedora&lt;br /&gt;
* [[Development:Setup:Linux:Debian]], Ubuntu&lt;br /&gt;
* [[Development:Setup:OSX]]&lt;br /&gt;
* [[Development:Setup:Windows:7]]&lt;br /&gt;
&lt;br /&gt;
## Other Helpful Pages ##&lt;br /&gt;
* [[Git]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=75071</id>
		<title>MainPage</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=75071"/>
		<updated>2013-04-21T16:01:25Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Course-Specific Topics==&lt;br /&gt;
* [[CSC 216]] learning exercise&lt;br /&gt;
* [[CSC 379]]&lt;br /&gt;
* [[CSC/ECE 506 Fall 2007]]&lt;br /&gt;
* [[ECE506_Main_Page | CSC/ECE 506 Main Portal]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2007]]&lt;br /&gt;
* [[CSC/ECE 517 Summer 2008]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2010]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2011]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2012]]&lt;br /&gt;
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]&lt;br /&gt;
* [[ECE 633]]&lt;br /&gt;
* [[KCU]]&lt;br /&gt;
* [[Progress reports]]&lt;br /&gt;
&lt;br /&gt;
==Application Behavior==&lt;br /&gt;
* [[Grading]]&lt;br /&gt;
&lt;br /&gt;
==Metaprogramming==&lt;br /&gt;
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''&lt;br /&gt;
&lt;br /&gt;
* [[Setting Up a Development Machine]]&lt;br /&gt;
* [[Creating a Linux Development Environment for Expertiza - Installation Guide]]&lt;br /&gt;
* [[Using git and github for projects]]&lt;br /&gt;
* [[Using heroku to deploy your projects]]&lt;br /&gt;
* [[How to Begin a Project from the Current Expertiza Repository]]&lt;br /&gt;
* [[Git]]&lt;br /&gt;
* [[How to Change a User's Password on a Development Machine]]&lt;br /&gt;
* [[Debugging Rails]]&lt;br /&gt;
&lt;br /&gt;
==Production==&lt;br /&gt;
* [[Deploying to Production]]&lt;br /&gt;
* [[Accessing the Production Server]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
* [[Using Cucumber with Expertiza]]&lt;br /&gt;
* [[Rails Testing Overview]]&lt;br /&gt;
* [[Expertiza Continuous Integration]]&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
* [[Object-Oriented Design and Programming]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75070</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75070"/>
		<updated>2013-04-21T15:05:08Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Import Production Data (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;brew install aspell gcc47 libxml2 libxslt graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
This step is not necessary, but it is advised to set a root mysql password.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
Notice: You may need to prepend the following commands with &amp;lt;code&amp;gt;bundle exec&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap production load_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75069</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75069"/>
		<updated>2013-04-21T15:04:34Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Build the Expertiza Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;brew install aspell gcc47 libxml2 libxslt graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
This step is not necessary, but it is advised to set a root mysql password.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
Notice: You may need to prepend the following commands with &amp;lt;code&amp;gt;bundle exec&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75068</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75068"/>
		<updated>2013-04-21T15:01:59Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Build the Expertiza Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;brew install aspell gcc47 libxml2 libxslt graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
This step is not necessary, but it is advised to set a root mysql password.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
Notice: You may need to prepend the following commands with `bundle exec`.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75067</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75067"/>
		<updated>2013-04-21T15:01:10Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Set Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;brew install aspell gcc47 libxml2 libxslt graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
This step is not necessary, but it is advised to set a root mysql password.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75066</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75066"/>
		<updated>2013-04-21T14:59:52Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;brew install aspell gcc47 libxml2 libxslt graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75065</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75065"/>
		<updated>2013-04-21T14:51:22Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Create Expertiza Gemset (optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75064</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75064"/>
		<updated>2013-04-21T14:51:12Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Ruby v. 1.8.7 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
https://github.com/sstephenson/ruby-build/wiki#installing-187-on-os-x-108-mountain-lion&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75063</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75063"/>
		<updated>2013-04-21T14:50:31Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Homebrew */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
http://mxcl.github.io/homebrew&lt;br /&gt;
&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75062</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75062"/>
		<updated>2013-04-21T14:50:07Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install RVM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Homebrew==&lt;br /&gt;
[http://mxcl.github.io/homebrew/]&lt;br /&gt;
==Install RBENV==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install rbenv&lt;br /&gt;
$ brew install ruby-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75061</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75061"/>
		<updated>2013-04-21T14:45:56Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac Git for OS X]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75060</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75060"/>
		<updated>2013-04-21T14:45:19Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[Git for OS X http://git-scm.com/download/mac]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75059</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75059"/>
		<updated>2013-04-21T14:44:58Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
[http://git-scm.com/download/mac]&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75058</id>
		<title>Development:Setup:OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:OSX&amp;diff=75058"/>
		<updated>2013-04-21T14:43:58Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Cloned from RHEL wiki page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=How_to_Change_a_User%27s_Password_on_a_Development_Machine&amp;diff=74974</id>
		<title>How to Change a User's Password on a Development Machine</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=How_to_Change_a_User%27s_Password_on_a_Development_Machine&amp;diff=74974"/>
		<updated>2013-04-18T22:23:30Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Created page with &amp;quot;The following commands change the 'admin' user's password when entered into the rails console. The rails console can be entered with the command &amp;lt;pre&amp;gt;./script/console&amp;lt;/pre&amp;gt; while...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following commands change the 'admin' user's password when entered into the rails console.&lt;br /&gt;
The rails console can be entered with the command &amp;lt;pre&amp;gt;./script/console&amp;lt;/pre&amp;gt; while in the Expertiza working directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
u = User.find_by_name('admin')&lt;br /&gt;
u.clear_password = 'new_password'&lt;br /&gt;
u.clear_password_confirmation = 'new_password'&lt;br /&gt;
u.save&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=74973</id>
		<title>MainPage</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=74973"/>
		<updated>2013-04-18T22:21:59Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Course-Specific Topics==&lt;br /&gt;
* [[CSC 216]] learning exercise&lt;br /&gt;
* [[CSC 379]]&lt;br /&gt;
* [[CSC/ECE 506 Fall 2007]]&lt;br /&gt;
* [[ECE506_Main_Page | CSC/ECE 506 Main Portal]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2007]]&lt;br /&gt;
* [[CSC/ECE 517 Summer 2008]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2010]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2011]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2012]]&lt;br /&gt;
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]&lt;br /&gt;
* [[ECE 633]]&lt;br /&gt;
* [[KCU]]&lt;br /&gt;
* [[Progress reports]]&lt;br /&gt;
&lt;br /&gt;
==Application Behavior==&lt;br /&gt;
* [[Grading]]&lt;br /&gt;
&lt;br /&gt;
==Metaprogramming==&lt;br /&gt;
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''&lt;br /&gt;
&lt;br /&gt;
* [[Setting Up a Development Machine]]&lt;br /&gt;
* [[Creating a Linux Development Environment for Expertiza - Installation Guide]]&lt;br /&gt;
* [[Using git and github for projects]]&lt;br /&gt;
* [[Using heroku to deploy your projects]]&lt;br /&gt;
* [[How to Begin a Project from the Current Expertiza Repository]]&lt;br /&gt;
* [[Git]]&lt;br /&gt;
* [[How to Change a User's Password on a Development Machine]]&lt;br /&gt;
&lt;br /&gt;
==Production==&lt;br /&gt;
* [[Deploying to Production]]&lt;br /&gt;
* [[Accessing the Production Server]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
* [[Using Cucumber with Expertiza]]&lt;br /&gt;
* [[Rails Testing Overview]]&lt;br /&gt;
* [[Expertiza Continuous Integration]]&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
* [[Object-Oriented Design and Programming]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=74730</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=74730"/>
		<updated>2013-04-09T12:48:13Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Updated header sizes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common Git Idioms Used in Expertiza ==&lt;br /&gt;
=== Merging Code Which is Not Derived from the Full History of Expertiza via Fork ===&lt;br /&gt;
# Pull their code in as a new remote (ie. rogue). It won't connect to our history line, but we can create a branch there (ie. stray) for comparison.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote add rogue https://github.com/rogue/roguespertiza...&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray rogue/master&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Create another temporary branch (ie. stray0) as a reference point for their first commit.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray0 $(git rev-list stray|tail -n1)&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Determine a range of commits that could be potentially have been their starting point. I used git log and looked for a commit around the semester start date (ie. a000000) and after when they submitted their work (ie. f999999). Compare the size of the diff (number of lines in the diff, using wc -l) between stray0 and each commit in the range. Find the commit in our history with the minimum diff size with their work. If it's the first or last commit in the list, increase your commit range, they probably started outside your search range.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;for commit in $(git log a000000..f999999 --pretty=%h); do echo $commit $(git diff stray0 $commit | wc -l); done&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Let's say we found that commit c444444 was the commit with the smallest diff size. That becomes our branching point where we want to move all the commits from the stray branch.&lt;br /&gt;
# Create a new copied branch where stray0 is, and move it with its tree state to our history line. Then re-create the commit. (Please don't really name it &amp;quot;copied&amp;quot;... give the branch a meaningful name like E713-custom-rubric)&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git checkout stray0 -b copied&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git reset --soft c444444&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git commit -m &amp;quot;(original commit message)&amp;quot; --author=&amp;quot;Original Author &amp;lt;and@email&amp;gt;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now cherry-pick (copy) the rest of stray's commits onto the copied branch that we just moved to our history line.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git cherry-pick stray0..stray&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Clean out the remote and branches we added in the process:&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rm rogue&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git br -D stray stray0&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now your copied branch contains all the commits from the project and is based on the project's original start point in our history line. At this point it can be tested, modified, and pushed as usual.&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=74729</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Git&amp;diff=74729"/>
		<updated>2013-04-09T12:47:24Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: Added Merging Code Which is Not Derived from the Full History of Expertiza via Fork&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Common Git Idioms Used in Expertiza =&lt;br /&gt;
== Merging Code Which is Not Derived from the Full History of Expertiza via Fork ==&lt;br /&gt;
# Pull their code in as a new remote (ie. rogue). It won't connect to our history line, but we can create a branch there (ie. stray) for comparison.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote add rogue https://github.com/rogue/roguespertiza...&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray rogue/master&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Create another temporary branch (ie. stray0) as a reference point for their first commit.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git branch stray0 $(git rev-list stray|tail -n1)&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Determine a range of commits that could be potentially have been their starting point. I used git log and looked for a commit around the semester start date (ie. a000000) and after when they submitted their work (ie. f999999). Compare the size of the diff (number of lines in the diff, using wc -l) between stray0 and each commit in the range. Find the commit in our history with the minimum diff size with their work. If it's the first or last commit in the list, increase your commit range, they probably started outside your search range.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;for commit in $(git log a000000..f999999 --pretty=%h); do echo $commit $(git diff stray0 $commit | wc -l); done&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Let's say we found that commit c444444 was the commit with the smallest diff size. That becomes our branching point where we want to move all the commits from the stray branch.&lt;br /&gt;
# Create a new copied branch where stray0 is, and move it with its tree state to our history line. Then re-create the commit. (Please don't really name it &amp;quot;copied&amp;quot;... give the branch a meaningful name like E713-custom-rubric)&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git checkout stray0 -b copied&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git reset --soft c444444&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git commit -m &amp;quot;(original commit message)&amp;quot; --author=&amp;quot;Original Author &amp;lt;and@email&amp;gt;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now cherry-pick (copy) the rest of stray's commits onto the copied branch that we just moved to our history line.&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git cherry-pick stray0..stray&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Clean out the remote and branches we added in the process:&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rm rogue&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git br -D stray stray0&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now your copied branch contains all the commits from the project and is based on the project's original start point in our history line. At this point it can be tested, modified, and pushed as usual.&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=74728</id>
		<title>MainPage</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=MainPage&amp;diff=74728"/>
		<updated>2013-04-09T12:33:45Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Course-Specific Topics==&lt;br /&gt;
* [[CSC 216]] learning exercise&lt;br /&gt;
* [[CSC 379]]&lt;br /&gt;
* [[CSC/ECE 506 Fall 2007]]&lt;br /&gt;
* [[ECE506_Main_Page | CSC/ECE 506 Main Portal]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2007]]&lt;br /&gt;
* [[CSC/ECE 517 Summer 2008]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2010]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2011]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2012]]&lt;br /&gt;
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]&lt;br /&gt;
* [[ECE 633]]&lt;br /&gt;
* [[KCU]]&lt;br /&gt;
* [[Progress reports]]&lt;br /&gt;
&lt;br /&gt;
==Application Behavior==&lt;br /&gt;
* [[Grading]]&lt;br /&gt;
&lt;br /&gt;
==Metaprogramming==&lt;br /&gt;
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''&lt;br /&gt;
&lt;br /&gt;
* [[Setting Up a Development Machine]]&lt;br /&gt;
* [[Creating a Linux Development Environment for Expertiza - Installation Guide]]&lt;br /&gt;
* [[Using git and github for projects]]&lt;br /&gt;
* [[Using heroku to deploy your projects]]&lt;br /&gt;
* [[How to Begin a Project from the Current Expertiza Repository]]&lt;br /&gt;
* [[Git]]&lt;br /&gt;
&lt;br /&gt;
==Production==&lt;br /&gt;
* [[Deploying to Production]]&lt;br /&gt;
* [[Accessing the Production Server]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
* [[Using Cucumber with Expertiza]]&lt;br /&gt;
* [[Rails Testing Overview]]&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
* [[Object-Oriented Design and Programming]]&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=How_to_Begin_a_Project_from_the_Current_Expertiza_Repository&amp;diff=74624</id>
		<title>How to Begin a Project from the Current Expertiza Repository</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=How_to_Begin_a_Project_from_the_Current_Expertiza_Repository&amp;diff=74624"/>
		<updated>2013-04-03T17:49:39Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [https://github.com/login Login] to [https://github.com/ Github] or create an account.&lt;br /&gt;
* Set up Git on your development machine:&lt;br /&gt;
** You may use either shell commands or a GUI for GIt. I recommend using the shell because the commands are the same cross-platform.&lt;br /&gt;
*** [https://help.github.com/articles/set-up-git#platform-linux Linux]&lt;br /&gt;
*** [https://help.github.com/articles/set-up-git#platform-mac Mac OS X]&lt;br /&gt;
*** [https://help.github.com/articles/set-up-git#platform-windows Windows]&lt;br /&gt;
* Fork the Expertiza project&lt;br /&gt;
** [https://help.github.com/articles/fork-a-repo How To: Fork a Github Repository]&lt;br /&gt;
* Make your changes, committing often, until your project is complete.&lt;br /&gt;
* If you want more practice using Git and to help out the Expertiza team, you should merge the current upstream master branch back into your project before creating a pull request.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/expertiza/expertiza.git #Add the upstream remote (expertiza/expertiza)&lt;br /&gt;
git fetch upstream #Get all current code from upstream&lt;br /&gt;
git merge remotes/upstream/master #Merge upstream with your current branch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Fix merge conflicts -- only keep parts of files that you have changed from your work. Everything else should be kept from upstream.&lt;br /&gt;
** Your code is HEAD, and upstream is a hash (e.g. 3a8fe31).&lt;br /&gt;
* Test the merged code to make sure the functionality of your project remains and nothing broke.&lt;br /&gt;
* Push your merged code to your forked repository&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git push origin master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* When you are finished, [https://help.github.com/articles/using-pull-requests create a pull request] so that your code can be easily merged into Expertiza&lt;br /&gt;
** Please create a pull request message detailing the changes you made in which files for your project.&lt;br /&gt;
** Include the year and semester as a comment in the pull request (i.e. Spring 2013).&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=73851</id>
		<title>Development:Setup:Linux:RHEL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:RHEL&amp;diff=73851"/>
		<updated>2013-03-08T16:17:33Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server graphviz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73174</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73174"/>
		<updated>2013-02-18T15:58:21Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Set Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
You may be prompted multiple times to set a root password for mysql. This password is up to you, but it can be left blank.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless openjdk-6-source mysql-client mysql-server libmysqlclient-dev libaspell-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
Your path may be different. You can generally find out the path by looking at the symbolic link at /etc/alternatives/java&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;ls -la /etc/alternatives/java&amp;lt;/pre&amp;gt;&lt;br /&gt;
This outputs something like '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'. Only part of this path may need to be set to JAVA_HOME. In this instance, it is '/usr/lib/jvm/java-6-openjdk-amd64'.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Automatic Configuration===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot &amp;lt; db/grant_expertiza.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73173</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73173"/>
		<updated>2013-02-18T15:56:29Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
You may be prompted multiple times to set a root password for mysql. This password is up to you, but it can be left blank.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless openjdk-6-source mysql-client mysql-server libmysqlclient-dev libaspell-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
Your path may be different. You can generally find out the path by looking at the symbolic link at /etc/alternatives/java&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;ls -la /etc/alternatives/java&amp;lt;/pre&amp;gt;&lt;br /&gt;
This outputs something like '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'. Only part of this path may need to be set to JAVA_HOME. In this instance, it is '/usr/lib/jvm/java-6-openjdk-amd64'.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73172</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73172"/>
		<updated>2013-02-18T15:54:40Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
You may be prompted multiple times to set a root password for mysql. This password is up to you, but it can be left blank.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless openjdk-6-source mysql-client mysql-server libmysqlclient-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
Your path may be different. You can generally find out the path by looking at the symbolic link at /etc/alternatives/java&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;ls -la /etc/alternatives/java&amp;lt;/pre&amp;gt;&lt;br /&gt;
This outputs something like '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'. Only part of this path may need to be set to JAVA_HOME. In this instance, it is '/usr/lib/jvm/java-6-openjdk-amd64'.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73171</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73171"/>
		<updated>2013-02-18T15:51:16Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless openjdk-6-source&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
Your path may be different. You can generally find out the path by looking at the symbolic link at /etc/alternatives/java&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;ls -la /etc/alternatives/java&amp;lt;/pre&amp;gt;&lt;br /&gt;
This outputs something like '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'. Only part of this path may need to be set to JAVA_HOME. In this instance, it is '/usr/lib/jvm/java-6-openjdk-amd64'.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73170</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73170"/>
		<updated>2013-02-18T15:49:56Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Bundled Gems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
Your path may be different. You can generally find out the path by looking at the symbolic link at /etc/alternatives/java&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;ls -la /etc/alternatives/java&amp;lt;/pre&amp;gt;&lt;br /&gt;
This outputs something like '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'. Only part of this path may need to be set to JAVA_HOME. In this instance, it is '/usr/lib/jvm/java-6-openjdk-amd64'.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73169</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73169"/>
		<updated>2013-02-18T15:47:02Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Install Native Expertiza Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install openjdk-6-jre-headless&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73168</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73168"/>
		<updated>2013-02-18T15:39:01Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Make sure all the dependencies are met for RVM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73167</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73167"/>
		<updated>2013-02-18T15:38:28Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Load RVM as a Function */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/scripts/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73166</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73166"/>
		<updated>2013-02-18T15:36:59Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Multi User Mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode (Not Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73165</id>
		<title>Development:Setup:Linux:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Development:Setup:Linux:Debian&amp;diff=73165"/>
		<updated>2013-02-18T15:36:27Z</updated>

		<summary type="html">&lt;p&gt;Ajkofink: /* Get Expertiza */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
* You must have shell access&lt;br /&gt;
* You must have root access (via sudo), or the required software must already be installed&lt;br /&gt;
==Install Git==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo apt-get install git curl&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Expertiza==&lt;br /&gt;
====Expertiza Repository URLs====&lt;br /&gt;
* (ssh, read/write) git@github.com:expertiza/expertiza.git&lt;br /&gt;
* (https, read/write) https://github.com/expertiza/expertiza.git&lt;br /&gt;
* (git, read-only) git://github.com/expertiza/expertiza.git&lt;br /&gt;
====Default====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Options====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b &amp;lt;branch&amp;gt; &amp;lt;remote&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git clone -b production git@github.com:expertiza/expertiza.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
====To Rename the Central Remote====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename &amp;lt;current_name&amp;gt; &amp;lt;desired_name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;git remote rename origin upstream&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install RVM==&lt;br /&gt;
[https://rvm.io/rvm/install/ RVM Install]&lt;br /&gt;
====Single User Mode (Recommended)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source ~/.rvm/bin/rvm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multi User Mode====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;\curl -L https://get.rvm.io | sudo bash -s stable&amp;lt;/pre&amp;gt;&lt;br /&gt;
=====Load RVM as a Function=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;source /etc/profile&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Post-Installation====&lt;br /&gt;
=====Is RVM a Function?=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;$ type rvm | head -1&lt;br /&gt;
rvm is a shell function&amp;lt;/pre&amp;gt;&lt;br /&gt;
If not, try loading RVM as a function again. If it is still not a function, try reinstalling RVM.&lt;br /&gt;
&lt;br /&gt;
=====Make sure all the dependencies are met for RVM=====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm requirements&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show a yum command. Run it to install the dependancies for Ruby.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Ruby v. 1.8.7==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm install 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create Expertiza Gemset (optional)==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm gemset create expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rvm use 1.8.7@expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Create a .rvmrc File (optional)====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;echo 'rvm use 1.8.7@expertiza' &amp;gt; .rvmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Native Expertiza Dependencies==&lt;br /&gt;
Dependencies are for the gems raspell, rjb, nokogiri, and mysql.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo yum install aspell-devel java-devel gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel mysql-devel mysql-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install Bundled Gems==&lt;br /&gt;
Set JAVA_HOME for the rjb gem:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;export JAVA_HOME=/etc/alternatives/java_sdk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;bundle install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Up the Database==&lt;br /&gt;
====Enable and Start the MySql Daemon====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld enable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;sudo service mysqld start&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Set the MySql Root Password====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Log in to MySql====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;mysql -uroot -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following commands are executed inside mysql&lt;br /&gt;
====Create the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create user expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Create the Databases====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_development;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;create database pg_test;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Grant Privileges to the Expertiza User====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_development.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;grant all on pg_test.* to expertiza@localhost;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build the Expertiza Database==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:migrate&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;rake db:test:prepare&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Import Production Data (Optional)====&lt;br /&gt;
This step requires that you have your ssh private/public key pairs loaded in the production server under the rails user.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to Add SSH Keys to the Expertiza Production Server]] &amp;lt;br /&amp;gt;&lt;br /&gt;
You must run the following command from your local Expertiza project directory.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:normal;&amp;quot;&amp;gt;cap load_production_data&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajkofink</name></author>
	</entry>
</feed>