aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-01-18 21:59:00 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-01-18 21:59:00 -0800
commit8e6248b7ce258f6db50db6e66e829521b3ef1d1c (patch)
treeafd9e0b0cd77c40c8dd95612de6d947afeb72803 /setup
parentb9eed2c10572bf5d816f4fe42ac6eb9f92ee2635 (diff)
downloadtrackermap-server-8e6248b7ce258f6db50db6e66e829521b3ef1d1c.tar.gz
trackermap-server-8e6248b7ce258f6db50db6e66e829521b3ef1d1c.tar.bz2
trackermap-server-8e6248b7ce258f6db50db6e66e829521b3ef1d1c.zip
Update environment setup script
Diffstat (limited to 'setup')
-rw-r--r--setup/environment.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/setup/environment.sh b/setup/environment.sh
index 81f8de94d..5090bbfb7 100644
--- a/setup/environment.sh
+++ b/setup/environment.sh
@@ -1,17 +1,20 @@
#!/usr/bin/env bash
+add-apt-repository ppa:openjdk-r/ppa
apt update
-apt install openjdk-11-jdk-headless zip unzip innoextract wine-stable makeself
+apt install openjdk-11-jdk zip unzip innoextract wine makeself
+
+# /usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts
+# /var/lib/dpkg/info/ca-certificates-java.postinst configure
git clone --recurse-submodules https://github.com/traccar/traccar.git
(cd traccar/traccar-web && git checkout master)
-
-./gradlew assemble
+(cd traccar && ./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
+wget http://cdn.sencha.com/cmd/7.1.0.15/no-jre/SenchaCmd-7.1.0.15-linux-i386.sh.zip
unzip SenchaCmd-*.zip ; rm SenchaCmd-*.zip
./SenchaCmd-*.sh -q ; rm SenchaCmd-*
export PATH=$PATH:~/bin/Sencha/Cmd/