Skip to content

Commit

Permalink
integrate cache-assets extension
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Oct 25, 2024
1 parent acce159 commit 6f6f95d
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flarum-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ su flarum-admin -c "rsync -tv --fsync --preallocate flarum-staging/composer.{loc
systemctl stop php-fpm
su flarum-admin -c "rsync -tvr --delete --fsync --preallocate flarum-staging/vendor/ flarum/vendor"
chown -R flarum:flarum flarum/public/assets
su flarum -c "php flarum migrate; php flarum cache:clear; php flarum assets:publish"
su flarum -c "php flarum migrate; php flarum cache:clear; php flarum assets:publish; php flarum cache:assets --js --css --locales"
chown -R flarum-admin:flarum-admin flarum/public/assets
chown -R flarum:flarum flarum/public/assets/avatars
systemctl start php-fpm
Expand Down
1 change: 1 addition & 0 deletions flarum/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"docs": "https://docs.flarum.org/"
},
"require": {
"blomstra/cache-assets": "*",
"blomstra/flarum-redis": "*",
"flarum/approval": "*",
"flarum/bbcode": "*",
Expand Down
63 changes: 62 additions & 1 deletion flarum/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f6f95d

Please sign in to comment.