Merge Pull Request #92 into develop

master
Eugene E. Kashpureff Jr 8 years ago
commit c2bb2c6e90
  1. 18
      INSTALL.md

@ -5,8 +5,8 @@
Requirements
------------
* Recent version of [Maven](http://maven.apache.org/).
* A JDK installation. 1.7.x series of OpenJDK or Oracle JDK 7+ should work.
* Recent version of [Maven](http://maven.apache.org/).
* A JDK installation. 1.8.x series of OpenJDK or Oracle JDK 8+ should work.
* Optional: lintian and fakeroot, for .deb package
* Test as follows:
@ -14,7 +14,7 @@ Requirements
$ which mvn
/usr/local/bin/mvn
$ echo $JAVA_HOME
/usr/lib/jvm/java-1.7.0-openjdk.x86_64
/usr/lib/jvm/java-1.8.0-openjdk.x86_64
$
```
@ -29,12 +29,12 @@ $
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.
At this point you are ready to build the basic Libresonic WAR. This is required for all the other build targets, so you should do it before proceeding.
```
$ mvn package
<lots of buildspam>
[INFO] Building war: /path/to/repo/subsonic/subsonic-main/target/subsonic.war
[INFO] Building war: /path/to/repo/libresonic/libresonic-main/target/libresonic.war
<more buildspam>
$
```
@ -45,7 +45,7 @@ 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/
$ cp libresonic-main/target/libresonic.war /var/lib/tomcat6/webapps/
$
```
@ -56,9 +56,9 @@ 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
$ mvn -P full -pl libresonic-booter -am install
$ mvn -P full -pl libresonic-installer-debian/ -am install
$ sudo dpkg -i ./libresonic-installer-debian/target/libresonic-*.deb
$
```

Loading…
Cancel
Save