Quick Setup

  • Download Bonsai
  • Install Requirements
  • Setup Servers

 

This tutorial video is for v0.0.1. Once you’ve completed it, you might want to watch Updating to v0.0.10 to get to the current version of Bonsai.

 

Download Bonsai

Go to Github and download Bonsai using your preferred method.

Github Page

 

Requirements

Setup SSH Keys

  • Setup Digital Ocean Account
  • Add SSH Key to DigitalOcean
  • Generate SSH Key
  • Publish SSH Key to DigitalOcean
  • Setup Github Account
  • Add SSH Key to Github

 

Install Requirements

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

This will install the following:

  • Xcode Developer Tools
  • PHP >= 7.2
  • Homebrew
  • Node.js >= 8
  • Ansible >= 2.8
  • Virtualbox >= 4.3.10
  • Vagrant >= 2.1.0
  • Composer
  • Yarn

 

Setup Servers


First, check:

  • Remove unnecessary Virtualbox Machines
  • Clear: ~/.ssh/known_hosts file of any duplicates or old hosts
  • Clear: ~/../../etc/hosts

Nameservers:

Create Droplets:

  • Staging
  • Production

 

Resources


Create SSH Key:
https://www.digitalocean.com/docs/droplets/how-to/add-ssh-keys/create-with-openssh/

Add SSH Key to DigitalOcean:
https://cloud.digitalocean.com/account/security

Add SSH Key to Github:
https://github.com/settings/keys

Xcode Developer Tools:
https://developer.apple.com/xcode/

PHP:
https://jasonmccreary.me/articles/upgrade-php-mac-os-x/

Homebrew:
https://brew.sh/

Node.js:
https://nodejs.org/en/download/

Ansible:
https://hvops.com/articles/ansible-mac-osx/

Composer:
https://getcomposer.org/download/

Yarn:
https://classic.yarnpkg.com/en/docs/install#mac-stable

Virtualbox:
https://www.virtualbox.org/wiki/Downloads

Vagrant:
https://www.vagrantup.com/downloads.html

Vagrant Manager:
https://github.com/lanayotech/vagrant-manager/releases

Atom:
https://atom.io/

iTerm2:
https://www.iterm2.com/

Github Desktop App:
https://desktop.github.com/

Bonsai University

Categories:

Courses:

Sign in

Sign up below to create an account

  • Hidden

Have a crypto wallet?