|
|
@@ -3,24 +3,30 @@
|
|
|
# Prepare
|
|
|
cd /var/www/typo3
|
|
|
mv /var/www/composer.phar /var/www/typo3/composer.phar
|
|
|
-ln -s /var/opentalent/git/ot_typo3/install/composer.json /var/www/typo3/composer.json
|
|
|
+ln -s /var/opentalent/git/ot_typo3/docker/conf/composer.json /var/www/typo3/composer.json
|
|
|
|
|
|
# Install Typo3 and extensions
|
|
|
php composer.phar install
|
|
|
+ln -s /var/opentalent/git/ot_typo3/ot_core /var/www/typo3/public/typo3conf/ext/ot_core
|
|
|
ln -s /var/opentalent/git/ot_typo3/ot_templating /var/www/typo3/public/typo3conf/ext/ot_templating
|
|
|
ln -s /var/opentalent/git/ot_typo3/ot_connect /var/www/typo3/public/typo3conf/ext/ot_connect
|
|
|
ln -s /var/opentalent/git/ot_typo3/ot_optimizer /var/www/typo3/public/typo3conf/ext/ot_optimizer
|
|
|
ln -s /var/opentalent/git/ot_typo3/ot_admin /var/www/typo3/public/typo3conf/ext/ot_admin
|
|
|
+ln -s /var/opentalent/git/ot_typo3/ot_stats /var/www/typo3/public/typo3conf/ext/ot_stats
|
|
|
php composer.phar dumpautoload
|
|
|
|
|
|
# Add custom configuration
|
|
|
-ln -s /var/opentalent/git/ot_typo3/docker/LocalConfiguration.php /var/www/typo3/public/typo3conf/LocalConfiguration.php
|
|
|
+ln -s /var/opentalent/git/ot_typo3/docker/conf/LocalConfiguration.php /var/www/typo3/public/typo3conf/LocalConfiguration.php
|
|
|
+ln -s /var/opentalent/git/ot_typo3/docker/conf/AdditionalConfiguration.php /var/www/typo3/public/typo3conf/AdditionalConfiguration.php
|
|
|
mkdir -p /var/www/typo3/config
|
|
|
-ln -s /var/opentalent/git/ot_typo3/docker/sites.tar.gz /var/www/typo3/config/sites.tar.gz
|
|
|
+ln -s /var/opentalent/git/ot_typo3/docker/conf/sites.tar.gz /var/www/typo3/config/sites.tar.gz
|
|
|
tar -xzf /var/www/typo3/config/sites.tar.gz -C /var/www/typo3/config/
|
|
|
|
|
|
+# replace the default .htaccess
|
|
|
+rm /var/www/typo3/public/.htaccess
|
|
|
+ln -s /var/opentalent/git/ot_typo3/docker/conf/.htaccess /var/www/typo3/public/.htaccess
|
|
|
+
|
|
|
# Finalize
|
|
|
-ln -s /var/opentalent/git/ot_typo3/install/cli /var/www/typo3/cli
|
|
|
chown -R 1000:www-data /var/www/typo3
|
|
|
chown -R 1000:www-data /var/opentalent/git/ot_typo3
|
|
|
chmod -R 771 /var/www/typo3
|