From debd7aa6fb76902a2a717d2e19f9884ac5116399 Mon Sep 17 00:00:00 2001 From: "Eugene E. Kashpureff Jr" Date: Sat, 21 May 2016 16:16:52 +0000 Subject: [PATCH] Install instructions for stable branch --- INSTALL.md | 64 +++--------------------------------------------------- 1 file changed, 3 insertions(+), 61 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 84e1c015..ad4e24b0 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,65 +2,7 @@ # INSTALL.md # Libresonic/libresonic --> -Requirements ------------- - - * Recent version of [Maven](http://maven.apache.org/). - * A JDK installation. 1.7.x series of OpenJDK or Oracle JDK 7+ should work. - * Optional: lintian and fakeroot, for .deb package - * Test as follows: - -``` -$ which mvn -/usr/local/bin/mvn -$ echo $JAVA_HOME -/usr/lib/jvm/java-1.7.0-openjdk.x86_64 -$ -``` - -Now you can clone a copy of this repository: - -``` -$ git clone git://github.com/Libresonic/libresonic.git -$ cd libresonic -$ -``` - -Standalone WAR --------------- - -At this point you are ready to build the basic Subsonic WAR. This is required for all the other build targets, so you should do it before proceeding. - -``` -$ mvn package - -[INFO] Building war: /path/to/repo/subsonic/subsonic-main/target/subsonic.war - -$ -``` - -Tomcat Installation -------------------- - -The WAR may be copied directly to a Tomcat server's webapps/ directory and deployed. - -``` -$ cp subsonic-main/target/subsonic.war /var/lib/tomcat6/webapps/ -$ -``` - - -Packaged .deb -------------- - -You can furthermore go ahead to create a .deb suitable for installation on Debian or Ubuntu. These instructions should similarly work with rpm(for RedHat/CentOS or Fedora), but it is has not been tested. - -``` -$ mvn -P full -pl subsonic-booter -am install -$ mvn -P full -pl subsonic-installer-debian/ -am install -$ sudo dpkg -i ./subsonic-installer-debian/target/subsonic-*.deb -$ -``` - -Good luck! +Libresonic Installation +----------------------- +At present, building from the `stable` branch is not recommended. See the `develop` branch for more information. You can download the [Stable WAR](https://github.com/Libresonic/libresonic/releases) and [deploy using Tomcat](https://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html).