aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-05 20:38:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-05 20:38:33 -0700
commitc615a2a7b83b014f848ef23083613f0428c7b3c9 (patch)
tree8e5bfc64142a108c2fdd4b2b08788a3627a972c7
parentf4e218e232603fc6293db94dd62e7bc2239ec35b (diff)
downloadtrackermap-server-c615a2a7b83b014f848ef23083613f0428c7b3c9.tar.gz
trackermap-server-c615a2a7b83b014f848ef23083613f0428c7b3c9.tar.bz2
trackermap-server-c615a2a7b83b014f848ef23083613f0428c7b3c9.zip
Update scripts
-rw-r--r--setup/environment.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/environment.sh b/setup/environment.sh
index 16b25461e..2e6019a76 100644
--- a/setup/environment.sh
+++ b/setup/environment.sh
@@ -2,7 +2,7 @@
add-apt-repository ppa:openjdk-r/ppa
apt update
-apt install openjdk-11-jdk zip unzip innoextract wine-stable makeself
+apt install openjdk-11-jdk zip unzip innoextract wine-stable makeself npm craco
# /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
@@ -10,6 +10,7 @@ apt install openjdk-11-jdk zip unzip innoextract wine-stable makeself
git clone --recurse-submodules https://github.com/traccar/traccar.git
(cd traccar/traccar-web && git checkout master)
(cd traccar && ./gradlew build)
+(cd traccar/traccar-web && ./tools/package.sh)
wget http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip
unzip ext-*-gpl.zip ; rm ext-*-gpl.zip