Skip to content

This provisions the Golang QOR-Example shop in a local Vagrant vbox and DigitalOcean 512 instance with Terraform

License

Notifications You must be signed in to change notification settings

randomtask2000/terraform-vagrant-qor-example

Repository files navigation

terraform-vagrant-qor-example

A VERY simple QOR-Example eCom Shop environment provisioner for HashiCorp Vagrant and HashiCorp Terraform on DigitalOcean.

Introduction

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.

Quick Start

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

QOR example application

Learn more about QOR and what it does here: QOR.

QOR Chat Room: Join the chat at https://gitter.im/qor/qor

About

This provisions the Golang QOR-Example shop in a local Vagrant vbox and DigitalOcean 512 instance with Terraform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published