Last active
December 9, 2020 14:55
-
-
Save sulram/16f7288c89623f2b909b4bfe4d000dac to your computer and use it in GitHub Desktop.
statamic deploy ploi.io
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 /home/ploi/DOMAIN_PATH | |
git pull origin master | |
composer install --no-interaction --prefer-dist --optimize-autoloader | |
echo "" | sudo -S service php7.4-fpm reload | |
php artisan optimize | |
php please cache:clear | |
php please stache:clear | |
php please glide:clear | |
echo "๐ Application deployed!" |
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
docker run --rm -v $PWD:/app composer install -d ./ousia-statamic-v3 --no-interaction --prefer-dist --optimize-autoloader | |
docker-compose -f docker-compose-ousia.yml exec --user 1000 fpm php ../statamic/artisan optimize | |
docker-compose -f docker-compose-ousia.yml exec --user 1000 fpm php ../statamic/please cache:clear | |
docker-compose -f docker-compose-ousia.yml exec --user 1000 fpm php ../statamic/please stache:clear | |
docker-compose -f docker-compose-ousia.yml exec --user 1000 fpm php ../statamic/please glide:clear | |
#sudo chown -R marlus:marlus ./ousia-statamic-v3/storage |
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 /home/ploi/tatil.marlus.com | |
git pull origin master | |
echo "" | sudo -S service php7.4-fpm reload | |
php please cache:clear | |
#php please search:update | |
#npm | |
#gulp | |
echo "๐ Application deployed!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment