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

Suggested change #419

Closed
Ferks-FK opened this issue Dec 10, 2021 · 2 comments
Closed

Suggested change #419

Ferks-FK opened this issue Dec 10, 2021 · 2 comments

Comments

@Ferks-FK
Copy link

Ferks-FK commented Dec 10, 2021

Explanation

In the panel tutorial, but specifically in the "Getting Started" tab, change the following information:

php artisan p:environment:setup
php artisan p:environment:database

# To use PHP's internal mail sending (not recommended), select "mail". To use a
# custom SMTP server, select "smtp".
php artisan p:environment:mail

To:

php artisan p:environment:setup
php artisan p:environment:database

# To use PHP's internal mail sending (not recommended), select "mail". To use a
# custom SMTP server, select "smtp".
# If you don't need mail sending right now, ignore this command.
php artisan p:environment:mail

Why this change?

This will prevent people from running this command without even needing to send mail, and most importantly, it will prevent these kinds of problems in discord:

[2021-12-10 17:22:35] production.ERROR: Connection could not be established with host smtp.example.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known
@Software-Noob
Copy link
Member

That error is harmless and skipping the step won't affect that, because the dotenv file contains default example values. That command allows overwriting those values.

@Ferks-FK
Copy link
Author

That error is harmless and skipping the step won't affect that, because the dotenv file contains default example values. That command allows overwriting those values.

Good, then can I close this?

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