Skip to content

Commit

Permalink
Update datasette-on-digitalocean-app-platform.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Oct 7, 2020
1 parent 61e8ca2 commit 8385004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digitalocean/datasette-on-digitalocean-app-platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ I don't particularly like putting binary SQLite files in a GitHub repository - I

The best way I've found to do this in a DigitalOcean App is to create a `build.sh` script that builds the database, then execute it using a `Build Command`.

I've not yet figured out a neat way to configure build scripts entirely in the repository, but you can instead use the DigitalOcean App Platform web interface to set one. Visit the "Components" tab end click "Edit" in the Commands section, then set the "Buld Command" to `. build.sh`. Now any code you add to a `build.sh` script in your repo will be executed as part of the deployment.
I've not yet figured out a neat way to configure build scripts entirely in the repository, but you can instead use the DigitalOcean App Platform web interface to set one. Visit the "Components" tab end click "Edit" in the Commands section, then set the "Build Command" to `. build.sh`. Now any code you add to a `build.sh` script in your repo will be executed as part of the deployment.

I started with a `build.sh` script that looked like this:

Expand Down

0 comments on commit 8385004

Please sign in to comment.