kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.8 KiB
60 lines
1.8 KiB
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
set -o pipefail
|
||
|
|
||
|
# install node + npm
|
||
|
curl -s https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz | tar xzf - -C /usr/local --strip-components=1
|
||
|
|
||
|
wget --quiet -O- https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||
|
echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list
|
||
|
|
||
|
apt-get update -qq
|
||
|
apt-get install -y \
|
||
|
apt-transport-https \
|
||
|
pandoc \
|
||
|
poppler-utils \
|
||
|
unrtf \
|
||
|
tesseract-ocr \
|
||
|
catdoc \
|
||
|
postgresql-9.6 \
|
||
4 years ago
|
postgresql-client-9.6 \
|
||
|
imagemagick
|
||
4 years ago
|
|
||
|
rm -rf "$PGDATA_LEGACY"
|
||
|
|
||
|
# Specifics for BIM edition
|
||
|
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||
|
wget -q https://packages.microsoft.com/config/debian/9/prod.list -O /etc/apt/sources.list.d/microsoft-prod.list
|
||
|
apt-get update -qq
|
||
|
apt-get install -y dotnet-runtime-3.1
|
||
|
|
||
|
tmpdir=$(mktemp -d)
|
||
|
cd $tmpdir
|
||
|
|
||
|
# Install XKT converter
|
||
4 years ago
|
npm install @xeokit/xeokit-gltf-to-xkt@0.0.3 -g
|
||
4 years ago
|
|
||
|
# Install COLLADA2GLTF
|
||
|
wget --quiet https://github.com/KhronosGroup/COLLADA2GLTF/releases/download/v2.1.5/COLLADA2GLTF-v2.1.5-linux.zip
|
||
|
unzip -q COLLADA2GLTF-v2.1.5-linux.zip
|
||
|
mv COLLADA2GLTF-bin "/usr/local/bin/COLLADA2GLTF"
|
||
|
|
||
|
# IFCconvert
|
||
|
wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-9bcd932-linux64.zip
|
||
|
unzip -q IfcConvert-v0.6.0-9bcd932-linux64.zip
|
||
|
mv IfcConvert "/usr/local/bin/IfcConvert"
|
||
|
|
||
|
wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/1.0.0/xeokit-metadata-linux-x64.tar.gz
|
||
|
tar -zxvf xeokit-metadata-linux-x64.tar.gz
|
||
|
chmod +x xeokit-metadata-linux-x64/xeokit-metadata
|
||
|
cp -r xeokit-metadata-linux-x64/ "/usr/lib/xeokit-metadata"
|
||
|
ln -s /usr/lib/xeokit-metadata/xeokit-metadata /usr/local/bin/xeokit-metadata
|
||
|
|
||
|
cd /
|
||
|
rm -rf $tmpdir
|
||
|
|
||
|
gem install bundler --version "$BUNDLER_VERSION" --no-document
|
||
|
|
||
|
useradd -d /home/$APP_USER -m $APP_USER
|