From 378000c0fefa592f2f47672e17bbd1898eb5a6f1 Mon Sep 17 00:00:00 2001 From: Brandon Rozek <30753990+Brandon-Rozek@users.noreply.github.com> Date: Sat, 9 May 2020 10:33:09 -0400 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6626497..c0d2d9b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # minetest-deploy An example of how to use Packer and Terraform to deploy minetest onto DigitalOcean using its Docker Compose configuration. + +First you need to change the `config` file to contain your digital ocean API token and your SSH key name. + +Then go to the packer directory and run packer build +```bash +cd packer +packer build . +``` + +Then go to the terraform directory and deploy +```bash +cd terraform +terraform apply +```