igaster / laravel-theme

Theme support for Laravel
MIT License
520 stars 113 forks source link

Nothing to publish for tag []. #20

Closed dlepaux closed 8 years ago

dlepaux commented 8 years ago

Hi,

When i publish config, like in README.md, i got this message and config is not published.

Thanks

igaster commented 8 years ago

I will check it out. Meanwhile you can try the generic

php artisan vendor:publish

publishing the configuration file is optional, you can create your own themes.php using the provided config.php as a blueprint

dlepaux commented 8 years ago

Yes i know but i would like to find a nice way to deploy this package :)

I'm soory but i got this error when i do your command : There are no commands defined in the "vendor" namespace.

I doesn't understood.. I put your package in 'packages' folder in root..

Thanks Igaster,

David

igaster commented 8 years ago

It seems that you haven't installed the package at all. You should: 1) install it through composer 2) Add the Service provider (which register's the artisan command) and THEN execute the artisan publish command...

dlepaux commented 8 years ago

I just add the repo with composer in vendor but the problem is persisting.. I have always Nothing to publish for tag []..

OK i have do php artisan vendor:publish and config has been published.. It's very weird..

igaster commented 8 years ago

just tested it in L5.2 and woeks fine with me. Did you added the igaster\laravelTheme\themeServiceProvider::class, in your app.php? What Laravel version are you using?

dlepaux commented 8 years ago

Yes i added it in config/app.php and the alias too.

I have the version 5.2.7

igaster commented 8 years ago

Thanks @fishisawesome, it should be fixed in all environments now