Issue Summary
I’ve been trying to set up a Bedrock local app with this tutorial https://www.youtube.com/watch?v=wNSaP-O5wrk and this one (2021) https://www.youtube.com/watch?v=k5Oja5TO7Jk&t=3s.
I have no issues with using Composer to install the project, and I’ve set up my .env as so (with salts):
DB_NAME=‘local’
DB_USER=‘root’
DB_PASSWORD=‘root’
WP_ENV=‘development’
WP_HOME=‘http://bedrock.local/’
WP_SITEURL="${WP_HOME}/wp"
WP_DEBUG_LOG=/path/to/debug.log
I’ve then set up my conf/nginx/site.conf.hbs file root to this:
root "/Users/myusername/Local Sites/bedrock/app/bedrock/web"
When I delete my public
folder, restart my Local and try to run my app locally, I get a 502 on bedrock.local, bedrock.local/wp/wp-admin, and my Database tab in Local shows this:
note: the Local site worked before I deleted the public folder
I think I’ve followed these same steps about 20 times today and I just can’t figure it out!
I’ve also been scouring the Local community posts and nothing seems to be working.
System Details
Local version: 5.1.4+5377
OS: macOS Mojave 10.14.6
Log attached here local.log (8.8 KB)