[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Fri Sep 20 15:31:00 UTC 2019
#47767: Simplify and backport the local environment
------------------------------+-----------------------
Reporter: pento | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing | Focuses:
------------------------------+-----------------------
Comment (by desrosj):
Is there anyway to have a custom `.env` file that takes precedence over
the one included that can be ignored by version control?
Using `export/SET/Set-Item` commands work, but it does not persist.
Changing the `.env` file works temporarily, but it's easy to revert those
changes when refreshing your local environment. Lately I have been using
`7.4-fpm`, but forgetting to export that option before starting the
environment has happened for me a lot.
Not sure if I missed this somewhere in this discussion or the Make/Core
posts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list