add as installation method again, as it seems difficult to replace composer installation files with native packages
remove installation of aws-php-sdk and php-doctrine-cache packagesmaster
parent
dda227e98b
commit
74496231e3
|
@ -24,7 +24,6 @@ apt-get update
|
|||
|
||||
echo "dependencies for dataserver"
|
||||
apt-get install -y apache2 libapache2-mod-php5 mysql-server memcached zendframework php5-cli php5-memcache php5-mysql php5-curl php5-memcached
|
||||
apt-get -t wheezy-backports install -y php-aws-sdk php-doctrine-cache
|
||||
|
||||
echo "general dependencies"
|
||||
apt-get install -y git gnutls-bin runit libapache2-modsecurity curl elasticsearch openjdk-7-jre
|
||||
|
@ -54,6 +53,16 @@ git clone git://github.com/ruflin/Elastica.git /srv/zotero/dataserver/include/El
|
|||
cd /srv/zotero/dataserver/include/Elastica
|
||||
git checkout fc607170ab2ca751097648d48a5d38e15e9d5f6a
|
||||
|
||||
echo "install composer"
|
||||
cd /srv/zotero/dataserver
|
||||
curl -sS https://getcomposer.org/installer | php
|
||||
|
||||
echo "install dependencies"
|
||||
php composer.phar install
|
||||
|
||||
echo "remove composer"
|
||||
rm composer.phar
|
||||
|
||||
echo "install add_user script"
|
||||
cp add_user /srv/zotero/dataserver/admin
|
||||
|
||||
|
|
Loading…
Reference in New Issue