Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

Install Guide

mchelen edited this page Oct 19, 2014 · 4 revisions

Ubuntu 14.04

Installation using rbenv

sudo apt-get update
sudo apt-get install -y git libpq-dev libsqlite3-dev nodejs openjdk-6-jre-headless
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.1.2
rbenv global 2.1.2
gem install bundler rails
git clone https://github.com/ploslabs/rich_citations.git
cd rich_citations
bundle install
cp config/database.example.yml config/database.yml
bundle exec rake db:migrate

Start server

bundle exec rails server

Visit http://localhost:3000 in your browser

Vagrant

A preliminary Vagrantfile is available here: https://github.com/mchelen/vagrant-rich-citations

Clone this wiki locally