We currently support installing on Debian 5.0 Lenny and Ubuntu 11.10 systems.
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 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:
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
You should now be able to start bookyt:
bookyt is now available at http://localhost:3000