Image for post
Image for post

Bonsai Speed Run III

Create a Local Environment

02: Create Local Environment

  • Set Permissions
  • Deploy local environment

Set Permissions

Before you run the scripts, you have to give your computer permission to run them.

  • Run: cd ~/sites/Bonsai/site/scripts && chmod -R 777

Deploy Local Environment

Now we can create a local environment for our website by running one single shell script.

  • Run: cd ~/sites/Bonsai/site/scripts && ./development.sh

Here is what this shell script will do:

  • Clean the database
  • Install composer dependencies
  • Vagrant Up your Virtualbox Machine
  • Install WordPress Core
  • Activate Bonsai Theme
  • Activate all plugins
  • Delete sample post
  • Create Pages (Home, Docs, Podcast)
  • Create ReadMe post
  • Configure WordPress Settings and Info
  • Install Gravity Form Plugins
  • Create Bonsai Signup Form
  • Create Question Form

Written by

Product Creator– design, development, and marketing.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store