Cms: Add a new craft cli command which checks if craft is installed.

Created on 19 Mar 2020  路  3Comments  路  Source: craftcms/cms

This would make things easier for automated setups and custom scripts.

For example: Check if craft installed and only then run ./craft migrate/all

enhancement system administration

Most helpful comment

Good idea! Just added an install/check command for Craft 3.5.

All 3 comments

The PR allows us to create composer scripts like this one:

"@php craft setup/is-installed && @php craft migrate/all || return 0"

This would be really useful for CI and for Docker-ized setups

Good idea! Just added an install/check command for Craft 3.5.

Was this page helpful?
0 / 5 - 0 ratings