Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (49 sloc) 1.477 kb

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

Install Ruby’n’Rails

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

Install packages needed:

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

Then some gems:


sudo gem install rake bundler

Install bookyt

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

git clone http://github.com/huerlisi/bookyt.git
cd bookyt

Install dependency gems:

bundle

Setup database:

Copy database.yml.example to database.yml and edit as needed. While you may use the SQLite3 database, it has some issues
with date handling. It’s sometimes giving strange amounts in account views for opening balance etc.

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

Initialize the database:

bundle exec rake db:setup

Inititalize the sphinx freetext search index:

bundle exec rake ts:rebuild

Setup admin user

There’s a rake task to setup an admin user:

bundle exec rake users:admin

Run

You should now be able to start bookyt:

rails server

bookyt is now available at http://localhost:3000

Enjoy!

Jump to Line
Something went wrong with that request. Please try again.