{"id":1148,"date":"2015-08-20T23:57:14","date_gmt":"2015-08-20T21:57:14","guid":{"rendered":"http:\/\/hesmid.nl\/test\/?p=1148"},"modified":"2015-09-13T19:41:07","modified_gmt":"2015-09-13T17:41:07","slug":"vagrant-first-notes","status":"publish","type":"post","link":"https:\/\/hesmid.nl\/test\/vagrant-first-notes\/","title":{"rendered":"Vagrant: First notes"},"content":{"rendered":"<h3>Install<\/h3>\n<p>Install Vagrant and Virtualbox on Windows<\/p>\n<ul>\n<li>Latest <a href=\"https:\/\/www.vagrantup.com\/downloads.html\">Vagrant\u00a0<\/a>\n<ul>\n<li>Installer will add vagrant to windows path. So it is available in the console<\/li>\n<\/ul>\n<\/li>\n<li>Latest <a href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\">VirtualBox<\/a><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h3>Choose a box<\/h3>\n<p>Some recommended boxes for WordPress:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Varying-Vagrant-Vagrants\/VVV\">Variable Vagrant Vagrants<\/a>\u00a0(<a href=\"https:\/\/github.com\/varying-vagrant-vagrants\/vvv\/releases\">stable<\/a>\u00a0):\u00a0an open source Vagrant configuration focused on WordPress\n<ul>\n<li>And this addition: <a href=\"https:\/\/github.com\/bradp\/vv\">Variable VVV &#8211; a VVV Site Creation Wizard<\/a><br \/>\n<em>supports site creation with many different options; site blueprints to set up all your plugins, themes, and more; deployments; and lots more features.vagrant<\/em><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/github.com\/roots\/trellis\">Bedrock ansible<\/a><br \/>\n<em>Trellis is an end-to-end solution for WordPress environment management.<\/em><\/li>\n<li><a href=\"https:\/\/github.com\/scotch-io\/scotch-box\">Scotch Box<\/a>\u00a0(not specifically catered to WordPress)<br \/>\n<em>a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.<\/em><\/p>\n<ul>\n<li>The <a href=\"https:\/\/box.scotch.io\/\">manual<\/a> which is also useful for getting started with vagrant in general<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Install optional plugins<\/h3>\n<p>For VVV, we can install vagrant-hostsupdater (easy add entries to machine&#8217;s hosts file) and vagrant-triggers (automatic db backups)<\/p>\n<pre lang=\"bash\">vagrant plugin install vagrant-hostsupdater\r\nvagrant plugin install vagrant-triggers\r\n<\/pre>\n<p>If installing triggers is problematic you might want to skip it.<\/p>\n<p>&nbsp;<\/p>\n<h3>Clone the box<\/h3>\n<p>Clone the box, and then run vagrant up.<br \/>\n<strong>Make sure you are running the command prompt as administrator!<\/strong><\/p>\n<pre lang=\"bash\">git clone https:\/\/github.com\/scotch-io\/scotch-box.git my-project\r\ncd my-project\r\nvagrant up\r\n<\/pre>\n<p><em>Note: if you get an error something like &#8216;vt-x AMD-V hardwareacceleration not available&#8217; , you can fix it by enabling hardware virtualization in BIOS<\/em><\/p>\n<p><em>Note 2: if you get a network error when Vagrant is booting up VB, make sure you restarted your computer after installing the latest version of VB. Or check if there are still VB processes running (Windows task manager) and kill them.<\/em><\/p>\n<p><em>Note 3: if the hosts-updater complains about permissions, run the windows command prompt as administrator, then run vagrant up again<\/em><\/p>\n<p>&nbsp;<\/p>\n<h1><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>Install Install Vagrant and Virtualbox on Windows Latest Vagrant\u00a0 Installer will add vagrant to windows path. So it is available in the console Latest VirtualBox<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[20,4],"tags":[102,103],"acf":[],"_links":{"self":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/1148"}],"collection":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/comments?post=1148"}],"version-history":[{"count":6,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/1148\/revisions"}],"predecessor-version":[{"id":1175,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/1148\/revisions\/1175"}],"wp:attachment":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/media?parent=1148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/categories?post=1148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/tags?post=1148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}