roots / bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure
https://roots.io/bedrock/
MIT License
6.19k stars 1.17k forks source link

Add file to configure production environments #691

Closed natanael-aguiar closed 11 months ago

natanael-aguiar commented 1 year ago

When I had my first contact with Bedrock I felt lost as to whether or not I should create a production file and define my production environment settings in it, I believe more people should have it too. I took courage and created a simple file for the production environment, which contains some basic settings that are up to the developer to edit and configure to their preference. This way we will have more agility when uploading our applications to a production environment. I hope this can help in some way.

Print attached

image

QWp6t commented 11 months ago

Hey thanks for your willingness to contribute to Bedrock.

We intentionally removed environments/production.php.

This is because our application.php file is intended to be production by default.

So with that said, I don't think that this change is the right fit for Bedrock.

However, a couple of your changes might be worthy of discussion for adding to application.php. Feel free to open an issue if you want to discuss any potential changes.

Thanks again for being part of the community! 🙏