Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- REPO_PATH=concrete5-develop
- DB_HOST=localhost
- DB_USER=root
- DB_PASS=
- DB_DBAS=concrete5
- ADMIN_EMAIL=no-reply@localhost
- ADMIN_PASS=concrete5
- cd $REPO_PATH
- chmod +x concrete/bin/concrete5
- # Reset C5 installation
- concrete/bin/concrete5 c5:reset --no-interaction --force
- # Remove and reinstall node modules
- cd build
- rm -rf node_modules
- npm install
- cd ..
- # Reset composer packages
- rm -rf concrete/vendor
- composer install
- # Install concrete5
- concrete/bin/concrete5 c5:install --no-interaction \
- --db-server=$DB_HOST \
- --db-username=$DB_USER \
- --db-password=$DB_PASS \
- --db-database=$DB_DBAS \
- --site=concrete5 \
- --admin-email=$ADMIN_EMAIL \
- --admin-password=$ADMIN_PASS \
- --starting-point=elemental_full
- # Disabling news overlay
- concrete/bin/concrete5 c5:config set -g concrete.external.news_overlay false
- # Disabling intro guide
- concrete/bin/concrete5 c5:config set -g concrete.misc.help_overlay false
- # Show errors
- concrete/bin/concrete5 c5:config set -g concrete.debug.display_errors true
- # Show detailed errors
- concrete/bin/concrete5 c5:config set -g concrete.debug.detail debug
- # Choose locale on login page
- concrete/bin/concrete5 c5:config set -g concrete.i18n.choose_language_login true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement