Create 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

Select a Membership Level

Sign up to become a Deshi

Free Trial

7-day Free Trial
  • 1 weekly goal on GPT-3.5 Turbo
  • Daily Sensei AI check-ins
  • Sensei AI accountability partner

Basic Plan

GPT-3.5 Turbo
  • Unlimited weekly goals
  • Daily Sensei AI check-ins
  • Sensei AI accountability partner

Pro Plan

GPT-4
  • Unlimited weekly goals
  • Daily Sensei AI check-ins
  • Sensei AI accountability partner