We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

eric • 6 years ago

before i try circle ci, i plan to test this locally on my mac laptop. followed your way except circleci I got everything setup, but when i ran php artisan dusk (based on laravel 5.7.*), i got some errors

1 / 1 (100%)PHP Fatal error: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable. in /Users/eric/Sites/dusknotesapp/vendor/laravel/framework/src/Illuminate/Container/Container.php:945

I am testing out the edge since it's free for testing.

Any idea? and how do you run browserstack + laravel locally first?

Oliver Lundquist • 6 years ago

Hi Eric,

Thanks for your comment!

To run Edge on your local, follow these steps.

1. Add these environment variables to your .env file.
BROWSERSTACK_USERNAME=your-browserstack-username
BROWSERSTACK_ACCESS_KEY=your-access-key
BROWSERSTACK_SERVER=hub.browserstack.com

2. Edit the APP_URL in the same .env file from this, APP_URL=http://localhost, to this, APP_URL=http://localhost:9000

3. Run this command in a terminal window.
php artisan serve --host=0.0.0.0 --port=9000

4. Run this command in another terminal window to run tests locally.
TEST_BROWSER=edge php artisan dusk

I hope that helps,

All the best,

Oliver Lundquist