-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from bobdenotter/more-checks
More checks (`changelogCheck`, `systemlogCheck`, `thumbnailConfigCheck`), and a bit of cleanup.
- Loading branch information
Showing
2 changed files
with
109 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
Configuration Notices for Bolt | ||
============================== | ||
|
||
Friendly helpers for your Bolt installation. This extension comes bundled with | ||
the packaged distribution version of Bolt (commonly known as "The `tar` or `zip` | ||
version"). This extension provides helpful tips to prevent common pitfalls, in a | ||
Friendly helpers for your Bolt installation. This extension comes bundled with | ||
the packaged distribution version of Bolt (commonly known as "The `tar` or `zip` | ||
version"). This extension provides helpful tips to prevent common pitfalls, in a | ||
range of different situations. | ||
|
||
To install this extension in your custom bootstrapped version of Bolt, run the | ||
To install this extension in your custom bootstrapped version of Bolt, run the | ||
following in the root folder with your main `composer.json`: | ||
|
||
``` | ||
composer require bolt/configuration-notices | ||
``` | ||
|
||
 | ||
|
||
You can influence a few of the checks through the configuration. How meta! | ||
|
||
```yaml | ||
configuration_notices: | ||
local_domains: [ '.localhost' ] | ||
log_threshold: 1000 | ||
``` | ||
- `local_domains` can be set to contain (parts of) domain names, and is used | ||
in the check to determine if the current installation is considered to be | ||
"local" or "production". | ||
- `log_threshold` is used to determine what is considered 'a lot of rows' in | ||
the checks for the Change log and System log, to give a suggestion to trim | ||
the database tables. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters