From 84fac132c1f510c87454f09b9e7afa14db4589f1 Mon Sep 17 00:00:00 2001 From: thepriefy Date: Sat, 18 Jan 2020 03:52:03 +0700 Subject: [PATCH] update CONTRIBUTING.md (#62) --- CONTRIBUTING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0adcbcb..5b94095 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -74,15 +74,11 @@ git clone https://github.com/sendgrid/rest.git cd rest ``` -##### Execute: ##### - -See the [examples folder](https://github.com/sendgrid/rest/tree/master/examples) to get started quickly. - -If you want to try the SendGrid example: +### Environment Variables First, get your free SendGrid account [here](https://sendgrid.com/free?source=rest). -You will need to setup the following environment to use the SendGrid example: +Next, update your environment with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys) if you will test with Swift Mailer. ``` echo "export SENDGRID-API-KEY='YOUR-API-KEY'" > sendgrid.env @@ -91,6 +87,10 @@ source ./sendgrid.env go run examples/example.go ``` +##### Execute: ##### + +See the [examples folder](https://github.com/sendgrid/rest/tree/master/examples) to get started quickly. + ## Understanding the Code Base