diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-18 16:54:01 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-18 16:54:01 -0800 |
commit | b9eed2c10572bf5d816f4fe42ac6eb9f92ee2635 (patch) | |
tree | 33cd66cf1310538de1123877e03cd2443ad41bea | |
parent | 76710f149a5b633f39e65a1b9afbd1f9fcd7faae (diff) | |
download | traccar-server-b9eed2c10572bf5d816f4fe42ac6eb9f92ee2635.tar.gz traccar-server-b9eed2c10572bf5d816f4fe42ac6eb9f92ee2635.tar.bz2 traccar-server-b9eed2c10572bf5d816f4fe42ac6eb9f92ee2635.zip |
Add environment setup script
-rw-r--r-- | setup/environment.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/setup/environment.sh b/setup/environment.sh new file mode 100644 index 000000000..81f8de94d --- /dev/null +++ b/setup/environment.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +apt update +apt install openjdk-11-jdk-headless zip unzip innoextract wine-stable makeself + +git clone --recurse-submodules https://github.com/traccar/traccar.git +(cd traccar/traccar-web && git checkout master) + +./gradlew assemble + +wget http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip +unzip ext-*-gpl.zip ; rm ext-*-gpl.zip + +wget http://cdn.sencha.com/cmd/7.1.0.15/no-jre/SenchaCmd-7.1.0.15-linux-amd64.sh.zip +unzip SenchaCmd-*.zip ; rm SenchaCmd-*.zip +./SenchaCmd-*.sh -q ; rm SenchaCmd-* +export PATH=$PATH:~/bin/Sencha/Cmd/ + +cd traccar/setup +wget http://files.jrsoftware.org/is/5/isetup-5.5.8.exe +wget https://github.com/ojdkbuild/ojdkbuild/releases/download/java-11-openjdk-debug-11.0.6.10-1/java-11-openjdk-debug-11.0.6.10-1.windows.ojdkbuild.x86_64.zip +wget https://github.com/ojdkbuild/contrib_jdk11u-ci/releases/download/jdk-11.0.5%2B10/jdk-11.0.5-ojdkbuild-linux-x64.zip +wget https://github.com/ojdkbuild/contrib_jdk11u-arm32-ci/releases/download/jdk-11.0.5%2B10/jdk-11.0.5-ojdkbuild-linux-armhf.zip |