mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
DOC Update README.md for CMS 5
This commit is contained in:
parent
6931401749
commit
b459172b8b
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
|
||||||
|
Loading…
Reference in New Issue
Block a user