File tree 1 file changed +4
-5
lines changed
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
11
11
12
12
[ sample-docs ] : https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid
13
13
14
- ## Setup
14
+ ## Running on Compute Engine
15
15
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:
17
17
18
18
1 . [ Create a SendGrid Account] ( http://sendgrid.com/partner/google ) . As of
19
19
September 2015, Google users start with 25,000 free emails per month.
20
20
1 . 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
23
22
1 . Update packages and install required packages
24
23
sudo apt-get update && sudo apt-get install git-core openjdk-8-jdk maven
25
24
1 . Clone the repo
@@ -32,6 +31,6 @@ Before you can run or deploy the sample, you will need to do the following:
32
31
chmod +x compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar
33
32
1 . Make sure that openjdk 8 is the selected java version
34
33
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)
36
35
java -jar compute-sendgrid-1.0-SNAPSHOT-jar-with-dependencies.jar
37
36
You can’t perform that action at this time.
0 commit comments