pwweb / artomator

Artomator: Custom commands making life easier for Laravel.
MIT License
4 stars 1 forks source link

Rewrite of Installation Instructions #59

Closed frankpde closed 3 years ago

frankpde commented 3 years ago

When running artisan artomator:graphql_scaffold ModelName

the stub file is no longer found: ...vendor/infyomlabs/laravel-generator/templates/scaffold/views/blade_table_body.stub): Failed to open stream: No such file or directory

rabrowne85 commented 3 years ago

Have you published the template files before running the command?

rabrowne85 commented 3 years ago

$ php artisan artomator.publish:templates

rabrowne85 commented 3 years ago

I think the problem comes down to the installation instructions are unclear. I'm going to alter this issue to be more a rewrite of the instructions to make it clear what needs to happen in order for it to work.

I'm in the process of building an addition to the artomator. When i'm done i'll update the readme to be more concise and accurate. @frankpde you can then review and test them out to ensure they're accurate and work as expected, before we make the next release.

rabrowne85 commented 3 years ago
frankpde commented 3 years ago

Have you published the template files before running the command?

Yes

rabrowne85 commented 3 years ago

Does the file exist at the location defined? Does the file exist here:

resources/infyom/infyom-generator-templates/scaffold/views/blade_table_body.stub

And what is the value of the config setting templates_dir in the config/infyom/laravel_generator.pho file?

rabrowne85 commented 3 years ago

Fixed in 92479fdd0c37dcb4fd97ebe72e0dbdcea92339cc