Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run php artisan migrate: refresh --seed exception in lumen. #206

Closed
seekcx opened this issue Jul 11, 2017 · 2 comments
Closed

Run php artisan migrate: refresh --seed exception in lumen. #206

seekcx opened this issue Jul 11, 2017 · 2 comments

Comments

@seekcx
Copy link

seekcx commented Jul 11, 2017

https://github.com/laravel/scout/blob/3.0/src/ScoutServiceProvider.php#L29

Lumen does not have path.config.

@sudomabider
Copy link

sudomabider commented Sep 10, 2017

I think it's because Lumen doesn't have a standard location for putting config files like Laravel does. Basically it's up to Lumen users to specify what the config path is.

For example in your AppServiceProvider put in

$this->app['path.config'] = base_path('config'); // or whatever your path is

@seekcx
Copy link
Author

seekcx commented Sep 10, 2017

@sudomabider Well, that's really a good idea!

@seekcx seekcx closed this as completed Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants