{"id":119,"date":"2010-12-02T08:21:08","date_gmt":"2010-12-02T06:21:08","guid":{"rendered":"https:\/\/blog.zhdk.ch\/leihs\/?p=119"},"modified":"2010-12-02T08:21:08","modified_gmt":"2010-12-02T06:21:08","slug":"leihs-2-9-1-available-via-git","status":"publish","type":"post","link":"https:\/\/blog.zhdk.ch\/leihs\/2010\/12\/02\/leihs-2-9-1-available-via-git\/","title":{"rendered":"<!--:de-->leihs 2.9.1 per git verf\u00fcgbar<!--:--><!--:en-->leihs 2.9.1 available via git<!--:-->"},"content":{"rendered":"<p><!--:de-->Wir bereiten gerade die Ver\u00f6ffentlichung von leihs 2.9.1 vor. Falls du aber schon jetzt upgraden m\u00f6chtest, kannst du die neueste stabile Version aus unserem Git-Repository beziehen.<\/p>\n<p>Der letzte stabile Commit ist momentan getaggt als <strong>2.9.1<\/strong> auf dem master-Branch.<\/p>\n<p>Falls du noch nie eine leihs-Version per Git installiert hast, erh\u00e4ltst du mit folgendem Befehl eine frische Version:<\/p>\n<blockquote><p>\n<code>git clone git:\/\/github.com\/psy-q\/leihs.git leihs<\/code><br \/>\n<code>cd leihs<\/code><br \/>\n<code>git checkout -b my_leihs 2.9.1<\/code>\n<\/p><\/blockquote>\n<p>Falls du bereits ein leihs-Verzeichnis mit einer Git-Version von leihs hast, f\u00fchre folgendes Update <strong>in deinem leihs-Verzeichnis<\/strong> aus.<\/p>\n<p><strong>Bitte behalte aber deine Konfigurationsdateien (config\/database.yml, config\/environment.rb, config\/LDAP.yml)<\/strong> oder speichere sie ausserhalb des leihs-Verzeichnisses und verbinde sie einfach per Symlink mit den richtigen Orten. Symlinks werden von git gr\u00f6sstenteils ignoriert.<\/p>\n<blockquote><p>\n<code>git fetch<\/code><br \/>\n<code>git checkout my_leihs<\/code><br \/>\n<code>git merge 2.9.1<\/code><br \/>\n<code>RAILS_ENV=production rake db:migrate<\/code>\n<\/p><\/blockquote>\n<p>Dieses Beispiel ist f\u00fcr eine Produktiv-Version. Ist deine leihs-Installation im Development-Modus, lass einfach das RAILS_ENV=production weg.<\/p>\n<p>Bitte sag uns, falls du auf Probleme st\u00f6sst. leihs direkt ab Git zu installieren, ist etwas Neues. Wir sind gl\u00fccklich, wenn wir unsere Dokumentation verbessern k\u00f6nnen.<br \/>\n<!--:--><!--:en-->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.<\/p>\n<p>The latest stable commit is tagged <strong>2.9.1<\/strong> on the master branch.<\/p>\n<p>If you&#8217;ve never cloned leihs via Git, you can get a fresh copy like this:<\/p>\n<blockquote><p>\n<code>git clone git:\/\/github.com\/psy-q\/leihs.git leihs<\/code><br \/>\n<code>cd leihs<\/code><br \/>\n<code>git checkout -b my_leihs 2.9.1<\/code>\n<\/p><\/blockquote>\n<p>If you already have a &#8220;leihs&#8221; directory with a Git clone of leihs, you can update your version like this, <strong>inside your leihs directory<\/strong>.<\/p>\n<p><strong>Make sure to have a backup copy of your configuration files before starting this (config\/database.yml, config\/environment.rb, config\/LDAP.yml).<\/strong> Alternatively, you could just store those files outside your leihs directory and symlink them into it, so that git mostly ignores them.<\/p>\n<blockquote><p>\n<code>git fetch<\/code><br \/>\n<code>git checkout my_leihs<\/code><br \/>\n<code>git merge 2.9.1<\/code><br \/>\n<code>RAILS_ENV=production rake db:migrate<\/code>\n<\/p><\/blockquote>\n<p>This is for a production environment. If your copy of leihs is in development mode, you can leave off the RAILS_ENV=production.<\/p>\n<p>Please let us know if you run into problems with these instructions. Running leihs straight off Git is a new thing, we&#8217;re happy to improve our documentation.<br \/>\n<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wir bereiten gerade die Ver\u00f6ffentlichung von leihs 2.9.1 vor. Falls du aber schon jetzt upgraden m\u00f6chtest, 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\u00e4ltst du mit folgendem Befehl eine frische [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[427],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":1,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":121,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/119\/revisions\/121"}],"wp:attachment":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}