In this hands-on workshop with Doug Ayers, we’ll start with an introduction to Salesforce DX, the modern developer experience designed for high-performance agile development that will change the way you build Salesforce applications. Then we’ll walkthrough step-by-step to implement a continuous integration and delivery solution using Heroku’s Salesforce buildpack and Heroku GitHub integration to assemble a Salesforce DX project’s metadata and code into an unlocked package and deploy it to downstream Salesforce environments via Heroku Flow.
*What you’ll do in this project*
- Create a Heroku Pipeline that defines 3 stages to represent Salesforce development, staging, and production environments.
- Connect a GitHub account to Heroku to enable continuous integration and delivery for a Salesforce DX project forked on GitHub.
- Create an unlocked package as the metadata container for deploying the project through the pipeline stages.
- Add the Salesforce buildpack to the project to automate creating and installing new package versions.
- Enable Heroku Review Apps to automatically test code changes submitted in GitHub pull requests.
- Promote a package version to downstream environments using the Heroku Dashboard.
*Before you come*
- Complete this 15 minute Trailhead unit https://trailhead.salesforce.com/trails/sfdx_get_started/projects/quick-start-salesforce-dx/steps/set-up-your-salesforce-dx-environment
- Sign up for a free GitHub account https://github.com/join
- Sign up for a free Heroku account https://signup.heroku.com
- Install Git (if on Windows, ensure Git Bash was installed) https://git-scm.com/
- Install Heroku CLI https://devcenter.heroku.com/articles/heroku-cli
*When you come*
- Bring your laptop
Salesforce DX https://developer.salesforce.com/platform/dx
Heroku Flow https://trailhead.salesforce.com/en/modules/heroku-flow
Git and GitHub Basics https://trailhead.salesforce.com/trails/sfdx_get_started/modules/git-and-git-hub-basics/units/work-with-the-git-hub-workflow