{"id":76,"date":"2010-07-13T16:30:50","date_gmt":"2010-07-13T14:30:50","guid":{"rendered":"https:\/\/blog.zhdk.ch\/leihs\/?p=76"},"modified":"2010-10-05T11:18:20","modified_gmt":"2010-10-05T09:18:20","slug":"leihs-2-2-8-available-via-git","status":"publish","type":"post","link":"https:\/\/blog.zhdk.ch\/leihs\/2010\/07\/13\/leihs-2-2-8-available-via-git\/","title":{"rendered":"<!--:de-->leihs 2.2.8 per Git verf\u00fcgbar<!--:--><!--:en-->leihs 2.2.8 available via Git<!--:-->"},"content":{"rendered":"<p><!--:de-->Wir bereiten gerade die Ver\u00f6ffentlichung von leihs 2.2.8 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.2.8<\/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.2.8<\/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.2.8<\/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.<\/p>\n<p><!--:--><!--:en-->We are preparing the release of leihs 2.2.8. But if you want to already upgrade, you can now get the 2.2.8 code from our Git repository.<\/p>\n<p>The latest stable commit is tagged <strong>2.2.8<\/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.2.8<\/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.2.8<\/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.2.8 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.2.8 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":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[427],"tags":[],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/76","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=76"}],"version-history":[{"count":4,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/posts\/76\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/leihs\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}