Quick Setup

00:

Bonsai

Quick Setup


 

 

Download Bonsai

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/

Leave a Reply

Your email address will not be published. Required fields are marked *

Bonsai

Become a pro member to get full access

Become Bonsai Pro Member
$5

Become a pro member to get full access

Become Bonsai Pro Member
$5

Join Devs to get full access

  • $0.00