[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Wed Jul 24 06:48:20 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 has-patch | Focuses:
-------------------------------------+-----------------------
Comment (by pento):
In [attachment:"47767.3.diff"]
- Fix `npm run env:install` not setting the correct port for the site URL
on Windows.
Side note, if anyone is testing on Windows with Docker Toolbox, you need
to run this command to be able to access the site:
`"%VBOX_MSI_INSTALL_PATH%\VBoxManage" controlvm "VM name" natpf1 "tcp-
port8889,tcp,127.0.0.1,8889,,8889"`
If you change the `LOCAL_PORT`, you'll need to run this again with the new
port number. No need to do this if you're using Docker for Windows, that
will automatically do the port forwarding.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list