diff options
author | Simon | 2011-01-20 16:40:40 +0100 |
---|---|---|
committer | Simon | 2011-01-20 16:40:40 +0100 |
commit | cd474cd9cc0572e5c7172b11a24193d107269ae5 (patch) | |
tree | e1f5b196b188fc340c369db14bffb748d3770143 /zend-einrichten.sh | |
parent | datenbankanbindung in die application geschrieben (diff) | |
download | pbs2-cd474cd9cc0572e5c7172b11a24193d107269ae5.tar.gz pbs2-cd474cd9cc0572e5c7172b11a24193d107269ae5.tar.xz pbs2-cd474cd9cc0572e5c7172b11a24193d107269ae5.zip |
zend script geändert sodass es auf /tmp/pbs2/ das projekt ablegt und apache /tmp/pbs2/public/ ausgibt
Diffstat (limited to 'zend-einrichten.sh')
-rwxr-xr-x | zend-einrichten.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zend-einrichten.sh b/zend-einrichten.sh index ae438c6..a098ec3 100755 --- a/zend-einrichten.sh +++ b/zend-einrichten.sh @@ -10,7 +10,9 @@ zcat /usr/share/doc/phpmyadmin/examples/create_tables.sql.gz | mysql -uroot -p apt-get install zend-framework-bin -y a2enmod rewrite cd /tmp/ -su sf34 git clone git@openslx.org:lsfks/master-teamprojekt/pbs2.git +su sf34 -c "git clone git@openslx.org:lsfks/master-teamprojekt/pbs2.git" +mkdir /tmp/pbs2/library/ +ln -s /usr/share/php/libzend-framework-php/Zend/ /tmp/pbs2/library/Zend touch /etc/apache2/sites-available/pbs2 echo " <VirtualHost 127.0.0.2:80>" >> /etc/apache2/sites-available/pbs2 echo " ServerName pbs2.local" >> /etc/apache2/sites-available/pbs2 |