suport the psd onlineview

This commit is contained in:
Hulk 2018-12-10 11:36:39 +08:00
parent 480b2d77f4
commit 592aff262d
2 changed files with 4 additions and 2 deletions

View File

@ -164,8 +164,9 @@ yum install python-setuptools MySQL-python memcached python-urllib3 \
pwgen curl openssl python-ldap java-1.7.0-openjdk poppler-utils libreoffice python-requests \
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \
gcc libffi-devel python-devel openssl-devel libmemcached libmemcached-devel python2-pip -y
pip install --upgrade pylibmc django-pylibmc
pip install pylibmc==1.6.0 django-pylibmc==0.6.1
pip install --timeout=3600 Pillow==4.3.0
pip install psd-tools==1.4
# start memcached on system boot
systemctl enable --now memcached

View File

@ -144,8 +144,9 @@ apt-get install -y python2.7 sudo python-pip python-setuptools python-mysqldb py
openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx python-requests
pip install --upgrade pylibmc django-pylibmc
pip install pylibmc==1.6.0 django-pylibmc==0.6.1
pip install --timeout=3600 Pillow==4.3.0
pip install psd-tools==1.4
rm /etc/nginx/sites-enabled/*