1## Step by step instructions 2 3An open source project becomes meaningful when people collaborate to improve the code. 4 5Feel free to look at the code, critique and make suggestions. Lets make `tfswitch` better! 6 7## Required version 8```sh 9go version 1.13 10``` 11 12### Step 1 - Create workspace 13*Skip this step if you already have a github go workspace* 14Create a github workspace. 15<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/tfswitch-workspace.gif" alt="drawing" style="width: 600px;"/> 16 17### Step 2 - Set GOPATH 18*Skip this step if you already have a github go workspace* 19Export your GOPATH environment variable in your `go` directory. 20```sh 21export GOPATH=`pwd` 22``` 23<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/tfswitch-gopath.gif" alt="drawing" style="width: 600px;"/> 24 25### Step 3 - Clone repository 26Git clone this repository. 27```sh 28git clone git@github.com:warrensbox/terraform-switcher.git 29``` 30<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/tfswitch-git-clone.gif" alt="drawing" style="width: 600px;"/> 31 32### Step 4 - Get dependencies 33Go get all the dependencies. 34 35```sh 36go mod download 37``` 38```sh 39go get -v -t -d ./... 40``` 41Test the code (optional). 42```sh 43go vet -tests=false ./... 44``` 45```sh 46go test -v ./... 47``` 48<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/tfswitch-go-get.gif" alt="drawing" style="width: 600px;"/> 49 50### Step 5 - Build executable 51Create a new branch. 52```sh 53git checkout -b feature/put-your-branch-name-here 54``` 55Refactor and add new features to the code. 56Go build the code. 57```sh 58go build -o test-tfswitch 59``` 60Test the code and create a new pull request! 61 62<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/tfswitch-build.gif" alt="drawing" style="width: 600px;"/> 63 64### Contributors 65 66<img style="text-allign:center" src="https://avatars3.githubusercontent.com/u/38867521?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars2.githubusercontent.com/u/10674287?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars1.githubusercontent.com/u/9209870?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src=" 67https://avatars0.githubusercontent.com/u/49199497?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars1.githubusercontent.com/u/435832?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars1.githubusercontent.com/u/1022296?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars2.githubusercontent.com/u/1111441?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars1.githubusercontent.com/u/1266467?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars3.githubusercontent.com/u/2305030?s=64&v=4" alt="drawing" width="42" height="42"/> <img style="text-allign:center" src="https://avatars1.githubusercontent.com/u/4919969?s=64&v=4" alt="drawing" width="42" height="42"/><img style="text-allign:center" src="https://avatars0.githubusercontent.com/u/12174752?s=64&v=4" alt="drawing" width="42" height="42"/> 68 69 70 71 72 73 74 75 76 77 78 79 80 81