Last active
January 4, 2020 10:50
-
-
Save marcobiedermann/88c5a1d20d632745e0cbd8da9b55f829 to your computer and use it in GitHub Desktop.
Contao Core Installation Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Contao Core releases: https://github.com/contao/core/releases | |
# Contao Check releases: https://github.com/contao/check/releases | |
CONTAO_CORE_VERSION="3.5.40" | |
CONTAO_CHECK_VERSION="12.2" | |
# Install Contao | |
wget https://github.com/contao/core/releases/download/${CONTAO_CORE_VERSION}/contao-${CONTAO_CORE_VERSION}.tar.gz | |
tar -xzf contao-${CONTAO_CORE_VERSION}.tar.gz | |
rm -f contao-${CONTAO_CORE_VERSION}.tar.gz | |
cd contao-${CONTAO_CORE_VERSION} | |
cp -rf . .. | |
cd .. | |
rm -rf contao-${CONTAO_CORE_VERSION} | |
# Install Contao Check | |
wget https://github.com/contao/check/archive/${CONTAO_CHECK_VERSION}.tar.gz | |
tar -xzf ${CONTAO_CHECK_VERSION}.tar.gz | |
rm -rf ${CONTAO_CHECK_VERSION}.tar.gz | |
cd check-${CONTAO_CHECK_VERSION} | |
cp -rf . .. | |
cd .. | |
rm -rf check-${CONTAO_CHECK_VERSION} | |
# Rename .htaccess | |
cp .htaccess.default .htaccess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment