cleaned iip image section

This commit is contained in:
rnsrk 2021-10-21 13:15:20 +02:00
parent 3513a966e3
commit 5a0db4ac69

View file

@ -627,7 +627,7 @@ echo
echo -e "${GREEN}Installing WissKI with some modules (you have to activate them later).${NC}" echo -e "${GREEN}Installing WissKI with some modules (you have to activate them later).${NC}"
echo echo
cd /var/www/html/$WEBSITENAME cd /var/www/html/$WEBSITENAME
composer require drupal/colorbox drupal/devel drush/drush drupal/imagemagick 'drupal/inline_entity_form:1.x-dev@dev' 'drupal/wisski:^3.0@RC' composer require drupal/colorbox drupal/devel drush/drush drupal/imagemagick drupal/image_effects 'drupal/inline_entity_form:1.x-dev@dev' 'drupal/wisski:^3.0@RC'
cd web/modules/contrib/wisski cd web/modules/contrib/wisski
echo echo
@ -661,7 +661,7 @@ while true; do
done done
echo echo
echo -e "${YELLOW}Do you like to get mirador library with the IIP Server?${NC}" echo -e "${YELLOW}Do you like to get mirador library with the IIP Image Server?${NC}"
echo echo
while true; do while true; do
@ -679,12 +679,16 @@ while true; do
iipimage-doc \ iipimage-doc \
libfreetype6-dev \ libfreetype6-dev \
libjpeg-dev \ libjpeg-dev \
libopenjp2-7 \
libopenjp2-7-dev \
libpng-dev \ libpng-dev \
libpng16-16 \ libpng16-16 \
libpq-dev \ libpq-dev \
libtiff-dev \ libtiff-dev \
libtiff5 \ libtiff5 \
libtool \ libtool \
libmemcached11 \
libmemcached-dev \
imagemagick -y imagemagick -y
# the directory of the script # the directory of the script
@ -711,10 +715,10 @@ while true; do
cd ${WORK_DIR} cd ${WORK_DIR}
git clone https://github.com/ruven/iipsrv.git && \ git clone https://github.com/ruven/iipsrv.git && \
cd iipsrv && \ cd iipsrv && \
sudo ./autogen.sh && \ ./autogen.sh && \
sudo ./configure && \ ./configure && \
sudo make make
sudo cp src/iipsrv.fcgi /usr/lib/iipimage-server/iipsrv.fcgi cp src/iipsrv.fcgi /usr/lib/iipimage-server/iipsrv.fcgi
cd ${DIR} cd ${DIR}
systemctl restart apache2 &> /dev/null systemctl restart apache2 &> /dev/null
echo echo