Log message #4221617

# At Username Text
# Jan 8th 2020, 11:11 damiano `public function routes(RouteBuilder $routes): void` `{` `$routes->plugin(` `'Webhook',` `['path' => '/',],` `function (RouteBuilder $builder) {` `// Add custom routes here` `$builder->connect('/{controller}/{action}/*', [])->setHost('test.localhost');` `}` `);` `parent::routes($routes);` `}`
# Jan 8th 2020, 11:11 damiano but i do not need a path i only need to use the host
# Jan 8th 2020, 11:10 damiano if i put something like /webhook it works
# Jan 8th 2020, 11:10 damiano $routes->plugin( 'Webhook', ['path' => '/',], <------ here
# Jan 8th 2020, 11:10 damiano why does not work:
# Jan 8th 2020, 11:10 damiano hi
# Jan 8th 2020, 11:09 savant that will definitely help us better document the plugin for other users :)
# Jan 8th 2020, 11:09 savant But please file an issue in the bake repo with the docs you think are missing/examples of what you’d expect
# Jan 8th 2020, 11:07 wizardfix Ok I'll have a look at those resources, thanks for your help @savant. :)
# Jan 8th 2020, 11:06 savant Apologies if it seems like I’m being dismissive, just trying to figure out what sort of content you want and not really understanding
# Jan 8th 2020, 11:04 savant i wonder if maybe the content from https://dev.to/northgoingzax/cakephp-3-bake-by-example-40pp might be more helpful to add to our docs…
# Jan 8th 2020, 11:03 savant the 1.3 docs are slightly longer, but idk if they were any more useful: https://book.cakephp.org/1.3/en/The-Manual/Core-Console-Applications/Code-Generation-with-Bake.html
# Jan 8th 2020, 11:01 savant the bake docs in 2.x were these: https://book.cakephp.org/2/en/console-and-shells/code-generation-with-bake.html
# Jan 8th 2020, 11:01 wizardfix It seems like a significant omission to me. Perhaps I need to look at the CakePHP 2 docs...
# Jan 8th 2020, 11:01 savant I _feel_ as though thats in the “Code Generation with Bake” section, but maybe im not understanding what you would expect instead
# Jan 8th 2020, 11:00 challgren “Code Generation With Bake”
# Jan 8th 2020, 11:00 savant When you say bake commands, do you mean `bin/cake bake SUBCOMMANDS`?
# Jan 8th 2020, 11:00 challgren Did you look at https://book.cakephp.org/bake/1/en/usage.html
# Jan 8th 2020, 11:00 wizardfix Well, there's *nothing* about bake commands in the 2 pages linked to in the blank chapter: https://book.cakephp.org/bake/1/en/index.html
# Jan 8th 2020, 10:58 savant Like, what would you expect in each of those sections?
# Jan 8th 2020, 10:57 savant heh sorry I guess I dont know what I’d add :)
# Jan 8th 2020, 10:57 wizardfix I am getting to like this framework, especially its precept of "convention over configuration", so well done team :) - perhaps I should just be grateful for the great tools that _are_ well documented. :)
# Jan 8th 2020, 10:53 savant does that usage doc not cover that?
# Jan 8th 2020, 10:53 wizardfix A chapter in the Book on Bake Overview, Fundamentals, Command usage and examples would be nice @savant :thinking_face:
# Jan 8th 2020, 10:51 savant we’re def happy to add more docs though :)
# Jan 8th 2020, 10:50 savant documentation is a bit harder for the core team because there are lots of things we might assume are “standard knowledge” but actually arent
# Jan 8th 2020, 10:49 savant i guess my question is what you think we would need in addition to whats there for you to feel its documented @wizardfix
# Jan 8th 2020, 10:47 challgren https://book.cakephp.org/bake/1/en/usage.html
# Jan 8th 2020, 10:42 wizardfix Well I'm surprised there's almost no documentation in the Book @savant, as everything else is pretty well documented...
# Jan 8th 2020, 10:41 savant might be good to open an issue on github so we can improve the documentation for bake :)
# Jan 8th 2020, 10:40 savant @wizardfix what sort of docs would you find better?
# Jan 8th 2020, 10:37 wizardfix Thanks @challgren so are the CLI `--help` pages basically all the docs there are then? :thinking_face:
# Jan 8th 2020, 10:33 challgren @wizardfix use --help
# Jan 8th 2020, 10:33 dereuromark -h is your friend
# Jan 8th 2020, 10:33 conehead ciby so this is an issue with your wamp setup and not cakephp. Should fix that first. Maybe your vhost is setup incorrectly?
# Jan 8th 2020, 10:32 wizardfix Hello! I'm learning CakePHP 3.8, and having trouble finding the documentation for `bake`. Chapter 14, "Bake Console", is blank and just redirects to https://book.cakephp.org/bake/1.x/en/index.html, but this is just 2 short, not that useful (to me) pages. I'm wondering where Ican find the documentation about all the `bake` commands and how to use them? (for v.3.8)... :thinking_face:
# Jan 8th 2020, 10:27 ciby48719 not working same issue again
# Jan 8th 2020, 10:21 ciby48719 will check
# Jan 8th 2020, 09:58 conehead can you just add a index.php with die(phpinfo()); in it and see if it works?
# Jan 8th 2020, 09:58 conehead This does not seem cakephp related
# Jan 8th 2020, 09:53 ciby48719 can you please help me to resolve this issue