Difference between revisions of "Open Data/RDMP Tools"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
===Step 2 - Install RubyonRails framework on the server=== | ===Step 2 - Install RubyonRails framework on the server=== | ||
Login to the server and then type the following; | Login to the server and then type the following; | ||
| − | sudo apt-get install | + | sudo apt-get install rails git mysql-server mysql-client libmysqlclient-dev |
| + | Then install as follows; | ||
| + | <pre> | ||
| + | cd | ||
| + | git clone https://github.com/rbenv/rbenv.git ~/.rbenv | ||
| + | echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | ||
| + | echo 'eval "$(rbenv init -)"' >> ~/.bashrc | ||
| + | exec $SHELL | ||
| + | |||
| + | git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | ||
| + | echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | ||
| + | exec $SHELL | ||
| + | |||
| + | rbenv install 2.3.1 | ||
| + | rbenv global 2.3.1 | ||
| + | ruby -v | ||
| + | </pre> | ||
===Step 3 - Get the DMP code=== | ===Step 3 - Get the DMP code=== | ||
Revision as of 13:22, 24 June 2016
BACK TO OPEN DATA
Contents
Introduction
This wiki page details the installation and use of the DCC RDMP software (RDMP = Research Data Management Plan) on an Ubuntu 14.04 LTS server with the "RubyonRails" web development framework installed.
Installation
Step 1 - Install Ubuntu server
Install an Ubuntu server as per:
http://ubuntu.sun.ac.za/wiki/index.php/Enterprise_Server_Management
Step 2 - Install RubyonRails framework on the server
Login to the server and then type the following;
sudo apt-get install rails git mysql-server mysql-client libmysqlclient-dev
Then install as follows;
cd git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec $SHELL git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL rbenv install 2.3.1 rbenv global 2.3.1 ruby -v
Step 3 - Get the DMP code
Type the following;
git clone https://github.com/DigitalCurationCentre/DMPonline_v4.git
cd DMPonline_v4
sudo bundle install
rake db:create
Operation
To do.