updated installer Makefile
This commit is contained in:
@@ -23,3 +23,12 @@ Das Programm kann auf einem beliebigen Rechner installiert werden. Falls du es a
|
|||||||
## Raspberry Pi
|
## Raspberry Pi
|
||||||
|
|
||||||
Eine ausführliche Anleitung zur Installation auf einem Raspberry Pi 3 findest du unter [srsoftware.de/web4rail-einrichtung](https://srsoftware.de/web4rail-einrichtung)
|
Eine ausführliche Anleitung zur Installation auf einem Raspberry Pi 3 findest du unter [srsoftware.de/web4rail-einrichtung](https://srsoftware.de/web4rail-einrichtung)
|
||||||
|
|
||||||
|
Auf einem – mit Noops – frisch eingerichteten Raspberry Pi kann man auch wie folgt vorgehen:
|
||||||
|
|
||||||
|
1. Anmelden mit Benutername „pi“ und Passwort „raspberry“
|
||||||
|
2. Download des Installationsskriptes per
|
||||||
|
`wget https://github.com/srsoftware-de/Web4Rail/raw/master/install/pi/Makefile`
|
||||||
|
3. Start der Installation:
|
||||||
|
* Falls nur Web4Rail installiert werden soll: `make install_w4r`
|
||||||
|
* Falls Web4Rail zusammen mit SRCPD und dem S88-Proxy installiert werden soll: `make install_all`
|
||||||
@@ -41,7 +41,7 @@ install_srcpd: update_apt
|
|||||||
@echo
|
@echo
|
||||||
@echo Installiere SRCPD...
|
@echo Installiere SRCPD...
|
||||||
@echo
|
@echo
|
||||||
sudo apt-get install -y automake libxml2-dev
|
sudo apt-get install -y automake libxml2-dev screen
|
||||||
-$(DO) wget https://sourceforge.net/projects/srcpd/files/srcpd/$(SRCPD)/srcpd-$(SRCPD).tar.gz/download -O srcpd.tgz -nc
|
-$(DO) wget https://sourceforge.net/projects/srcpd/files/srcpd/$(SRCPD)/srcpd-$(SRCPD).tar.gz/download -O srcpd.tgz -nc
|
||||||
$(DO) tar xfz srcpd.tgz
|
$(DO) tar xfz srcpd.tgz
|
||||||
$(DO) cd srcpd-?.?.? && ./configure && make && sudo make install
|
$(DO) cd srcpd-?.?.? && ./configure && make && sudo make install
|
||||||
@@ -68,14 +68,14 @@ install_s88: update_apt
|
|||||||
@echo
|
@echo
|
||||||
@echo Installiere S88 proxy...
|
@echo Installiere S88 proxy...
|
||||||
@echo
|
@echo
|
||||||
sudo apt-get install -y git
|
sudo apt-get install -y git screen
|
||||||
-$(DO) git clone -b S88 https://github.com/StephanRichter/model-rail-control
|
-$(DO) git clone -b S88 https://github.com/StephanRichter/model-rail-control
|
||||||
|
|
||||||
install_w4r: update_apt
|
install_w4r: update_apt
|
||||||
@echo
|
@echo
|
||||||
@echo Installiere Web4Rail...
|
@echo Installiere Web4Rail...
|
||||||
@echo
|
@echo
|
||||||
sudo apt-get install -y git maven openjdk-11-jdk-headless
|
sudo apt-get install -y git maven openjdk-11-jdk-headless screen
|
||||||
-$(DO) git clone https://github.com/srsoftware-de/Web4Rail
|
-$(DO) git clone https://github.com/srsoftware-de/Web4Rail
|
||||||
$(DO) cd Web4Rail && mvn clean install
|
$(DO) cd Web4Rail && mvn clean install
|
||||||
|
|
||||||
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.srsoftware</groupId>
|
<groupId>de.srsoftware</groupId>
|
||||||
<artifactId>web4rail</artifactId>
|
<artifactId>web4rail</artifactId>
|
||||||
<version>1.4.21</version>
|
<version>1.4.22</version>
|
||||||
<name>Web4Rail</name>
|
<name>Web4Rail</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Java Model Railway Control</description>
|
<description>Java Model Railway Control</description>
|
||||||
|
|||||||
Reference in New Issue
Block a user