Skip to content

Latest commit

 

History

History
78 lines (51 loc) · 1.63 KB

INSTALL.textile

File metadata and controls

78 lines (51 loc) · 1.63 KB

We currently support installing on Debian 5.0 Lenny and Ubuntu 10.04 Lucid systems.

Install rubygems

To get access to the binaries provided by rails and other gems you need to extend your PATH.

export PATH=/var/lib/gems/1.8/bin:$PATH

On Ubuntu Lucid

We need to add huerlisi PPA archive to get a rubygems version supporting rails 3:

sudo apt-add-repository ppa:huerlisi/ppa

Now install the rubygems package:

sudo apt-get install rubygems

Install Ruby’n’Rails

wikisigns is developed and tested using Rails 3.0 and Ruby 1.8. It currently won’t work with Ruby 1.9, but it should only
be small fixes. Patches welcome!

Install packages to support installing rails:

sudo apt-get install irb ruby libruby-extras sqlite3 libsqlite3-dev libmysqlclient-dev libxml2-dev libxslt-dev ruby-dev build-essential

Install rails using gem:

sudo gem install rake bundler

Install wikisigns

Install current wikisigns from git repository. We’ll use this checkout as working directory from now on:

git clone https://[email protected]/huerlisi/wikisigns.git
cd wikisigns
mkdir -p tmp log

Install dependency gems:

bundle

Setup database:

Copy database.yml.example to database.yml and edit as needed. The stock version uses sqlite3 to get everything running without additional setup.

cp config/database.yml.example config/database.yml

Initialize the database:

rake db:setup

Setup social integration:

Copy application.yml.example to application.yml and edit as needed.

cp config/application.yml.example config/application.yml