✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Heroku boilerplate deployment

Hi Chris,

I have been learning Plotly Dash lately and got really stuck with the deployment part with Heroku. I made it down all the way to step 4. Initialize Heroku, add files to Git, and deploy (in Deploy your Dash App | Dash for Python Documentation | Plotly). More specifically the git commit -m ‘Initial app boilerplate’ command.

I’m really new to this whole deployment thing so where can I find a simple boilerplate file for my simple app? I don’t even fully understand the boilerplate concept…

Any help would be greatly appreciated.

A-ha! Never mind Chris. I figured it out: “Initial app boilerplate” is just a string…
So, on that token, two things I observed from the step-by-step tutorial on how to deploy an app with Heroku:

  1. source venv/bin/activate should be replaced by venv\Scripts\activate (when running on Windows)
  2. Also on Windows, the single quotation marks (’) have to be replaced by double quotation marks ("), so things like “Initial app boilerplate” make some sense. :wink: