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

added solution for running Laravel Dusk in production #121

Merged

Conversation

Treggats
Copy link
Contributor

@Treggats Treggats commented Sep 7, 2019

As requested in issue #71

This PR provides two solutions for when Laravel Dusk is running in production.

  1. install composer dependencies with the --no-dev flag
  2. change the APP_ENV value

@mpociot
Copy link
Contributor

mpociot commented Sep 12, 2019

Thank you for the PR - can you also add a test to verify that the given exception returns those two solutions?

@Treggats
Copy link
Contributor Author

@mpociot good one, forgot those. Will add them

@Treggats Treggats force-pushed the add_not_safe_to_run_dusk_in_production_solution branch from 3a893a4 to f71ba5d Compare September 13, 2019 18:51
@Treggats
Copy link
Contributor Author

@mpociot done, added test which asserts the two solutions

@freekmurze freekmurze self-requested a review September 18, 2019 15:14
@mpociot mpociot merged commit e2aab65 into facade:master Sep 18, 2019
@mpociot
Copy link
Contributor

mpociot commented Sep 18, 2019

Great job! Thank you

@Treggats Treggats deleted the add_not_safe_to_run_dusk_in_production_solution branch September 22, 2019 10:22
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

Successfully merging this pull request may close these issues.

3 participants