Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 1.41 KB

INSTALL.textile

File metadata and controls

71 lines (47 loc) · 1.41 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

mailyt is developed and tested using Ruby 1.8.

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
sudo gem install rake bundler

Install mailyt

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

git clone http://github.com/huerlisi/mailyt.git
cd mailyt
mkdir -p tmp log

Install dependency gems:

bundle

Install dependency plugins:

# Install plugin package dependencies
git submodule update --init

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