mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 15:05:40 +00:00
Merge branch '3.0' into 3
This commit is contained in:
commit
54c2b87549
11
README.md
11
README.md
@ -9,13 +9,6 @@ This module adds an API for running environment checks to your API.
|
|||||||
* `dev/check` - An admin-only URL that performs a more comprehensive set of checks. This could be tied to a deployment system, for example.
|
* `dev/check` - An admin-only URL that performs a more comprehensive set of checks. This could be tied to a deployment system, for example.
|
||||||
* `dev/check/<suite>` - Check a specific suite (admin only)
|
* `dev/check/<suite>` - Check a specific suite (admin only)
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* Silverstripe 4.x
|
|
||||||
* PHP 7.3
|
|
||||||
|
|
||||||
For Silverstripe 3.x support, please use a `1.x` tagged release.
|
|
||||||
|
|
||||||
## Aren't these just unit tests?
|
## Aren't these just unit tests?
|
||||||
|
|
||||||
Almost, but not really. Environment checks differ from unit tests in two important ways:
|
Almost, but not really. Environment checks differ from unit tests in two important ways:
|
||||||
@ -26,11 +19,9 @@ Almost, but not really. Environment checks differ from unit tests in two importa
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ composer require silverstripe/environmentcheck
|
composer require silverstripe/environmentcheck
|
||||||
```
|
```
|
||||||
|
|
||||||
You'll also need to run `/dev/build`.
|
|
||||||
|
|
||||||
### Activating Directly
|
### Activating Directly
|
||||||
|
|
||||||
Register checks in your own `_config.php` - see the `_config.php` in this module for some defaults. Don't forget to
|
Register checks in your own `_config.php` - see the `_config.php` in this module for some defaults. Don't forget to
|
||||||
|
@ -38,4 +38,4 @@
|
|||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true
|
"prefer-stable": true
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user