install gs manually

This commit is contained in:
Henry Oswald 2018-03-23 17:06:31 +00:00
parent 092a151d51
commit 801adf8e9e

View file

@ -1,4 +1,11 @@
#!/bin/sh
apt-get install poppler-utils vim ghostscript imagemagick optipng --yes
apt-get update
apt-get install vim imagemagick optipng --yes
wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz /tmp/ghostscript-9.15.tar.gz
tar -xvf /tmp/ghostscript-9.15.tar.gz
cd /tmp/ghostscript-9.15 && ./configure && make && make install
npm rebuild
chown -R node:node /app/uploads