October CMS resources and help articles

Simple and to the point. Optimized by the community.

Automatically run october:up after running composer update

0
by Codecycler, last modified on March 30th, 2021

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"
        ]
},

Discussion

0 comments

We use cookies to measure the performance of this website. Do you want to accept these cookies?