Configuration

  • Create Github Repository
  • Configure Trellis/group_vars
  • Configre Trellis/hosts
  • Configure Security (See masterclass for security class)
  • Configure site/wp-cli.yml
  • Configure site/scripts

 

 

 

Create Github Repository

  • Create a Github Account
  • Download Github Desktop App
  • Drag and Drop project into Github App
  • Create Repository
  • Publish Repository

 

Configure Group Variables


  • group_vars/all/users.yml
  • group_vars/development/wordpress_sites.yml
  • group_vars/development/vault.yml
  • group_vars/staging/wordpress_sites.yml
  • group_vars/staging/vault.yml
  • group_vars/production/wordpress_sites.yml
  • group_vars/production/vault.yml
Be careful not to start passwords with a symbol.

 

Configure Hosts


  • Staging
  • Production
You only need to configure Trellis/hosts/development if you’re using Windows.

 

Configure Security


This is where I usually configure the security if I intend to take this project live. So for the sake of doing a speed run, I’m leaving this out and including it in the Bonsai Masterclass.

Configure Email


This is where I usually configure the SMTP email if I intend to take this project live. So for the sake of doing a speed run, I’m leaving this out and including it in the Bonsai Masterclass.

Configure WordPress Command Line Interface


Bonsai/site/wp-cli.yml should include something like this:

@development:
ssh: vagrant@bonsai.test/srv/www/bonsai.jackalope.io/current
@staging:
ssh: web@bonsai-staging/srv/www/bonsai.jackalope.io/current
@production:
ssh: web@bonsai-production/srv/www/bonsai.jackalope.io/current
  • @development is set to your local testing domain
  • @staging is set to your staging hostname or domain
  • @production is set to your production hostname or domain

 

Configure Shell Scripts


  • Requirements
  • Development
  • Staging
  • Production
  • Product (masterclass)
  • Sensei (masterclass)
  • New Install (optional)
  • Sync (optional)

 

Bonsai University

Categories:

Courses:

Sign in

Sign up below to create an account

  • Hidden

Have a crypto wallet?