overleaf/services/filestore/install_deps.sh

14 lines
356 B
Bash
Raw Normal View History

2018-03-23 16:36:41 +00:00
#!/bin/sh
2018-03-23 17:06:31 +00:00
apt-get update
apt-get install vim imagemagick optipng --yes
2018-03-23 17:29:21 +00:00
wget -q https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz -O /tmp/ghostscript-9.15.tar.gz
cd /tmp
2018-03-23 17:06:31 +00:00
tar -xvf /tmp/ghostscript-9.15.tar.gz
cd /tmp/ghostscript-9.15 && ./configure && make && make install
2018-03-23 16:36:41 +00:00
npm rebuild
chown -R node:node /app/uploads
2018-03-23 17:12:37 +00:00
echo gs --version