app\/bedrock\/.env<\/code><\/pre>\n\n\n\nAt the top of the file add your username and password for the database, this should be the same as mine :<\/p>\n\n\n\n
DB_NAME='local'\nDB_USER='root'\nDB_PASSWORD='root'<\/code><\/pre>\n\n\n\nOn line 14 you will also need to change the WP_HOME variable, mine is shown below, but use whatever is listed in Local : <\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nWP_HOME='http:\/\/localhost:10008'<\/code><\/pre>\n\n\n\nAlmost done, one last file to change, and this will be in <\/p>\n\n\n\n
conf\/nginx\/site.conf.hbs<\/code><\/pre>\n\n\n\non line 9 you will see : <\/p>\n\n\n\n
root \"{{root}}\";\n<\/code><\/pre>\n\n\n\nwe need to get the correct path so go back to finder and navigate to the folder :<\/p>\n\n\n\n
app\/bedrock\/web\/<\/code><\/pre>\n\n\n\nNow copy the path, watch this video for an easy way to do this. <\/p>\n\n\n\n<\/video><\/figure>\n\n\n\nNow head back to Local right-click the site name and click restart server. You may see some database errors in the Local database tab, these can now be ignored as everything should be working. The next step in our Workflow setup will be to Install Sage, check our next tutorial in the series. <\/p>\n","protected":false},"excerpt":{"rendered":"
This is the very start of our journey creating a theme using Sage. Full disclosure – Im learning too! and thats why you should comment whenever you have a question or a better way of doing something. I have done a lot of research in each section and try to keep to best practices, so […]<\/p>\n","protected":false},"author":1,"featured_media":2711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_uag_custom_page_level_css":"","footnotes":""},"categories":[136,146],"tags":[150,148,151,149,147],"uagb_featured_image_src":{"full":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920.png",1920,1280,false],"thumbnail":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-150x150.png",150,150,true],"medium":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-300x200.png",300,200,true],"medium_large":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-768x512.png",768,512,true],"large":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-1024x683.png",1024,683,true],"1536x1536":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-1536x1024.png",1536,1024,true],"2048x2048":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920.png",1920,1280,false],"rigtest-featured":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920-720x480.png",720,480,true],"mailpoet_newsletter_max":["https:\/\/thewpgeek.com\/wp-content\/uploads\/2021\/06\/developer-3461405_1920.png",1320,880,false]},"uagb_author_info":{"display_name":"wpgeek","author_link":"https:\/\/thewpgeek.com\/author\/wpgeek\/"},"uagb_comment_info":1,"uagb_excerpt":"This is the very start of our journey creating a theme using Sage. Full disclosure – Im learning too! and thats why you should comment whenever you have a question or a better way of doing something. I have done a lot of research in each section and try to keep to best practices, so…","_links":{"self":[{"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/posts\/2701"}],"collection":[{"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/comments?post=2701"}],"version-history":[{"count":8,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/posts\/2701\/revisions"}],"predecessor-version":[{"id":2868,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/posts\/2701\/revisions\/2868"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/media\/2711"}],"wp:attachment":[{"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/media?parent=2701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/categories?post=2701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thewpgeek.com\/wp-json\/wp\/v2\/tags?post=2701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}