Automatically run october:up after running composer update
0
When using composer with October CMS it might be handy to automatically run the october:up
command after updating with composer.
Find the scripts
section in your projects composer.json
file and add the php artisan october:up
script to the post-update-cmd
section. It might look like this now:
"scripts": {
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-update-cmd": [
"php artisan october:up"
]
},
There are no comments yet
Be the first one to comment