We currently support installing on Debian 5.0 Lenny and Ubuntu 10.04 Lucid systems.
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
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
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 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