We currently support installing on Debian 5.0 and modern Ubunty systems.
katalog is developed and tested using Rails 3.2 and Ruby 1.9
Install packages to support installing rails:
sudo apt-get install irb ruby libruby-extras libmysqlclient-dev libxml2-dev libxslt-dev libaspell-dev aspell-de ruby-dev build-essential
Install rails using gem:
sudo gem install rake bundler
Install git if not present already:
sudo apt-get install git
Install current katalog from git repository. We’ll use this checkout as working directory from now on:
git clone [email protected]:CyTeam/katalog.git cd katalog mkdir -p tmp log
Install dependency gems:
bundle
Setup database:
Copy database.yml.example to database.yml in config/ and edit as needed. The
katalog only works with MySQL (and could possibly be made working with
PostgreSQL). SQLite is no alternative because Sphinx, the freetext search
engine doesn’t work with it.
cp config/database.yml.example config/database.yml
Initialize the database:
bundle exec rake db:setup
Setup freetext search
sudo apt-get install sphinxsearch
Initialize the search index:
bundle exec rake katalog:ts:export_lists ts:rebuild katalog:aspell:update