![]() |
Simplest setup for local server development? - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: Private Instances (/forumdisplay.php?fid=12) +--- Thread: Simplest setup for local server development? (/showthread.php?tid=16054) |
Simplest setup for local server development? - anniesullie - 05-09-2020 03:13 AM I'd like to poke at the server UI, ideally without setting up my own agent. Is there documentation on the best setup for local development? I'm on a Mac, if it matters. I tried using docker, and the public relay server: docker/local/run_local_container.sh docker cp www/settings/locations.ini wpt:/var/www/html/settings My locations.ini: PHP Code: [locations] This almost works--it seems like I'm able to start a run, and the UI goes through the phases of waiting for it to complete, but then when it appears to finish it gives a "Test not found" message (see screenshot) ![]() Is there a simple fix? Or maybe just an easier way to do local development? RE: Simplest setup for local server development? - pmeenan - 05-10-2020 01:24 AM Hmm, I've never used the docker container but my guess would be something around the local results folder and where that persists. It might be easiest to spin up a free-tier AWS instance using the server image or a VM (or gce instance) with Ubuntu 18.04 and just run the server install script: https://github.com/WPO-Foundation/wptserver-install I usually install xdebug in the php on the dev server and then use vscode remote to do dev work on it so I don't have to deal with being on a Mac. |