Skip to content

Commit 6365a2d

Browse files
committed
folder structure changed,
readme update;
1 parent 7a2e882 commit 6365a2d

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tracy Debugger Toolbar for Opencart 2.x
1+
# Tracy Debugger Toolbar for [OpenCart 2.x](https://github.com/opencart/opencart)
22

33
"Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it."
44
For more information see official [Tracy repository](https://github.com/nette/tracy)
@@ -9,26 +9,28 @@ For more information see official [Tracy repository](https://github.com/nette/tr
99

1010
## Installation
1111

12-
1. Requiring installed [Vqmod](https://github.com/vqmod/vqmod) because VqMod doesn't support installing via composer itself.
13-
2. `composer require burdapraha/oc_tracy dev-master`
14-
3. Add this code to your composer.json project file:
12+
1. Requiring installed [vQmod](https://github.com/vqmod/vqmod) because vQmod doesn't support installing via composer itself.
13+
2. `composer require burdapraha/oc_tracy`
14+
3. `composer require sasedev/composer-plugin-filecopier` for files manipulating
15+
4. Add this code to your composer.json project file, extra section:
1516

1617
```
17-
"scripts": {
18-
"post-install-cmd": [
19-
"php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload/vqmod/xml/tracy.xml');\""
20-
],
21-
"post-update-cmd": [
22-
"php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload/vqmod/xml/tracy.xml');\""
18+
"extra": {
19+
"filescopier": [
20+
{
21+
"source": "vendor/burdapraha/oc_tracy/upload",
22+
"destination": "upload",
23+
"debug": "true"
24+
}
2325
]
24-
}
26+
}
2527
```
2628

2729
It will move vqmod xml file to correct folder.
2830

29-
4. add constant `define('DEV', true);` to your config.php, /admin/config.php
30-
5. optionally you can add row to your `.gitignore` file with path to tracy.xml (example: upload/vqmod/xml/tracy.xml)
31-
6. celebrate!
31+
5. add constant `define('DEV', true);` to your config.php, /admin/config.php
32+
6. optionally you can add row to your `.gitignore` file with path to tracy.xml (example: upload/vqmod/xml/tracy.xml)
33+
7. celebrate!
3234

3335
## Optional settings
3436

0 commit comments

Comments
 (0)