overleaf/services/filestore/install_deps.sh

14 lines
356 B
Bash
Raw Normal View History

2018-03-23 12:36:41 -04:00
#!/bin/sh
2018-03-23 13:06:31 -04:00
apt-get update
apt-get install vim imagemagick optipng --yes
2018-03-23 13:29:21 -04: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 13:06:31 -04:00
tar -xvf /tmp/ghostscript-9.15.tar.gz
cd /tmp/ghostscript-9.15 && ./configure && make && make install
2018-03-23 12:36:41 -04:00
npm rebuild
chown -R node:node /app/uploads
2018-03-23 13:12:37 -04:00
echo gs --version