Image for post
Image for post

Bonsai Speed Run IV

Deploy Staging Environment

03: Deploy Staging Site

  • Commit and Publish to Github
  • Check DNS Propagation
  • Run Staging shell script

Commit and Publish to Github

Your staging site is going to deploy based on your Github, so it’s time to update your repository to reflect any configuration changes we’ve made.

  • Open Github Desktop App
  • Name and note your commit
  • Publish to repository

Check DNS Propagation

If you plan to have your staging site on one of your domain names, you will have need to already setup the DNS configuration during the Quick Setup portion.

DNS configuration can take up to 72 hours sometimes.

You can check if your staging DNS is propagated yet by checking here:

DNS Propagation Checker

Instant DNS Propagation Check. Global DNS Lookup and DNS Propagation Checker. Check your DNS records around the world.

https://www.whatsmydns.net/#A/staging.bonsai.jackalope.io

Run Staging Shell Script

  • Run: cd ~/sites/bonsai-master/site/scripts && ./staging.sh

If you have any permission errors running the script, you need to give your scripts permission. Run: cd ~/sites/Bonsai/site/scripts && chmod -R 777

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