File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,14 @@ For more information about SendGrid, see their
1111
1212[ sample-docs ] : https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid
1313
14- ## Setup
14+ ## Running on Compute Engine
1515
16- Before you can run or deploy the sample, you will need to do the following:
16+ To run the sample, you will need to do the following:
1717
18181 . [ Create a SendGrid Account] ( http://sendgrid.com/partner/google ) . As of
1919 September 2015, Google users start with 25,000 free emails per month.
20201 . Create a compute instance on the Google Cloud Platform Developer's Console
21- 1 . SSH into that instance. If SSHing from the Developer's Console, switch to user managed
22- if necessary.
21+ 1 . SSH into the instance you created
23221 . Update packages and install required packages
2423 sudo apt-get update && sudo apt-get install git-core openjdk-8-jdk maven
25241 . Clone the repo
@@ -32,6 +31,6 @@ Before you can run or deploy the sample, you will need to do the following:
3231 chmod +x compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar
33321 . Make sure that openjdk 8 is the selected java version
3433 sudo update-alternatives --config java
35- 1 . Execute the jar file and send an email
34+ 1 . Execute the jar file and send an email (make sure you are in the target folder)
3635 java -jar compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar
3736
You can’t perform that action at this time.
0 commit comments