A VERY simple QOR-Example eCom Shop environment provisioner for HashiCorp Vagrant and HashiCorp Terraform on DigitalOcean.
This set of scripts can instantiate a local shopping site running QOR-Example on Golang in a local Vagrant virtual box (vbox) or a small 512 instance in DigitalOcean via HashiCorp Terraform.
You'll need to have the following environment variables set in your profile
export TF_VAR_digitalocean_token=[your digitalocean application secret]
export GIT_QOR_EXAMPLE=[your github application secret]
Run the Vagrant instance with
./setup_vagrant.sh
Or start your DigitalOcean instance:
./setup_tf.sh apply
After running the above you can find your site on the allocated IP address
and port 7000
. The site on Vagrant
can be found at http://192.168.33.10:7000