Created
March 18, 2020 13:36
-
-
Save opencoca/f2148d7306c401a8167c08f8e4e487de to your computer and use it in GitHub Desktop.
Mautic Perms and Cache warm up
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
cd /var/www/mautic | |
mkdir app/spool/ | |
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; | |
chmod -R g+w app/cache/ | |
chmod -R g+w app/logs/ | |
chmod -R g+w app/config/ | |
chmod -R g+w media/files/ | |
chmod -R g+w media/images/ | |
chmod -R g+w translations/ | |
chmod -R g+w app/spool/ | |
chmod -R g+w themes | |
chown -R $USER:www-data . | |
chmod +x app/app/console | |
app/console cache:warmup --env=prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment