[GUIDE] "1-Click Deploy" Frappe installation to DigitalOcean App Platform

This is a quick guide on how to deploy Frappe Framework to DigitalOcean App Platform.

I got inspired by this post and I used App Platform a lot before so I though if I was able to deploy Frappe there. I have created an extensive blog post.

Some things to consider:

For more information on DigitalOcean App Platform limitations and best practices, refer to:


Github repo where source code is located.

Steps

  • Fork do-frappe
  • Update repo value on .do/app.yaml to be your Github username
  • Generate a DigitalOcean token with scopes update, read, create under app (or give full permissions)
  • Link your Github Account with App Platform. (IMPORTANT)
  • Add this token as a secret in your forked repo named DIGITALOCEAN_ACCESS_TOKEN
  • Trigger the CI/CD pipeline
  • Wait for the deployment to complete

Good thing about this, is that you can create multi-bench. You automatically link domains in the App, create a new site with bench new-site <domain> and you have a working bench.

App Platform takes care of domains link, ssl etc.

1 Like