Skip to content

Commit 359f527

Browse files
committed
Add troubleshooting section to readme
1 parent 796f78a commit 359f527

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ In your `deploy.php` file:
4545
4646
`timer()` must be called after all other tasks are defined. The generated task to create a CSV result file should be added at the end of the task/group that should be timed (e.g. `deploy`)
4747
48+
## Troubleshooting
49+
50+
If you receive errors about missing classes, include the standalone autoloader:
51+
52+
```
53+
require __DIR__ . '/vendor/integer-net/deployer-timer/autoload.php';
54+
```
55+
56+
This way, you can use the recipe without relying on the composer autoloader (e.g. when running deployer as phar)
57+
4858
## Change log
4959
5060
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

0 commit comments

Comments
 (0)