aboutsummaryrefslogtreecommitdiff
path: root/setup/environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup/environment.sh')
-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