leihs 2.9.1 per git verfügbarleihs 2.9.1 available via git

Wir bereiten gerade die Veröffentlichung von leihs 2.9.1 vor. Falls du aber schon jetzt upgraden möchtest, kannst du die neueste stabile Version aus unserem Git-Repository beziehen.

Der letzte stabile Commit ist momentan getaggt als 2.9.1 auf dem master-Branch.

Falls du noch nie eine leihs-Version per Git installiert hast, erhältst du mit folgendem Befehl eine frische Version:

git clone git://github.com/psy-q/leihs.git leihs
cd leihs
git checkout -b my_leihs 2.9.1

Falls du bereits ein leihs-Verzeichnis mit einer Git-Version von leihs hast, führe folgendes Update in deinem leihs-Verzeichnis aus.

Bitte behalte aber deine Konfigurationsdateien (config/database.yml, config/environment.rb, config/LDAP.yml) oder speichere sie ausserhalb des leihs-Verzeichnisses und verbinde sie einfach per Symlink mit den richtigen Orten. Symlinks werden von git grösstenteils ignoriert.

git fetch
git checkout my_leihs
git merge 2.9.1
RAILS_ENV=production rake db:migrate

Dieses Beispiel ist für eine Produktiv-Version. Ist deine leihs-Installation im Development-Modus, lass einfach das RAILS_ENV=production weg.

Bitte sag uns, falls du auf Probleme stösst. leihs direkt ab Git zu installieren, ist etwas Neues. Wir sind glücklich, wenn wir unsere Dokumentation verbessern können.
We are preparing the release of leihs 2.9.1. But if you want to already upgrade, you can now get the 2.9.1 code from our Git repository.

The latest stable commit is tagged 2.9.1 on the master branch.

If you’ve never cloned leihs via Git, you can get a fresh copy like this:

git clone git://github.com/psy-q/leihs.git leihs
cd leihs
git checkout -b my_leihs 2.9.1

If you already have a “leihs” directory with a Git clone of leihs, you can update your version like this, inside your leihs directory.

Make sure to have a backup copy of your configuration files before starting this (config/database.yml, config/environment.rb, config/LDAP.yml). Alternatively, you could just store those files outside your leihs directory and symlink them into it, so that git mostly ignores them.

git fetch
git checkout my_leihs
git merge 2.9.1
RAILS_ENV=production rake db:migrate

This is for a production environment. If your copy of leihs is in development mode, you can leave off the RAILS_ENV=production.

Please let us know if you run into problems with these instructions. Running leihs straight off Git is a new thing, we’re happy to improve our documentation.

Comments are closed.