diff --git a/compute/sendgrid/README.md b/compute/sendgrid/README.md index 952b91b7186..e1dc94c7119 100644 --- a/compute/sendgrid/README.md +++ b/compute/sendgrid/README.md @@ -11,15 +11,14 @@ For more information about SendGrid, see their [sample-docs]: https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid -## Setup +## Running on Compute Engine -Before you can run or deploy the sample, you will need to do the following: +To run the sample, you will need to do the following: 1. [Create a SendGrid Account](http://sendgrid.com/partner/google). As of September 2015, Google users start with 25,000 free emails per month. 1. Create a compute instance on the Google Cloud Platform Developer's Console -1. SSH into that instance. If SSHing from the Developer's Console, switch to user managed - if necessary. +1. SSH into the instance you created 1. Update packages and install required packages sudo apt-get update && sudo apt-get install git-core openjdk-8-jdk maven 1. Clone the repo @@ -32,6 +31,6 @@ Before you can run or deploy the sample, you will need to do the following: chmod +x compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar 1. Make sure that openjdk 8 is the selected java version sudo update-alternatives --config java -1. Execute the jar file and send an email +1. Execute the jar file and send an email (make sure you are in the target folder) java -jar compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar