budibase/hosting/digitalocean
Martin McKeaveney eb7468494e adding yarn command for DO build 2021-12-02 14:38:57 +01:00
..
files
scripts
README.md adding yarn command for DO build 2021-12-02 14:38:57 +01:00
build.sh
template.json

README.md

Budibase DigitalOcean One Click

You will find in this directory configuration for packaging and creating a snapshot for the Budibase 1 click Digitalocean build. We use this configuration to have an immutable and reproducible build package for Digitalocean, that rarely needs updated.

Prerequisites

You must install Hashicorps packer to build the snapshot for digitalocean. Follow the instructions to install packer here

You must have the DIGITALOCEAN_TOKEN environment variable set, so that packer can reach out to the digitalocean API for build information.

Building

Just run the following command:

yarn build:digitalocean

Uploading to Marketplace

You can upload the snapshot to the Digitalocean vendor portal at the following link (Requires vendor account):

https://marketplace.digitalocean.com/vendorportal