Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.45 KB

File metadata and controls

38 lines (27 loc) · 1.45 KB

You can use Docker to easily try out or test sendgrid-java.

Quickstart

  1. Install Docker on your machine.
  2. If you have not done so, create a Docker Store account here
  3. Navigate here and click the "Proceed to Checkout" link (don't worry, it's free).
  4. On the command line, execute docker login and provide your credentials.
  5. Build the Docker image using the command docker build -t sendgrid/sendgrid-java -f Dockerfile .
  6. Run docker run -it sendgrid/sendgrid-java.

Info

This Docker image contains

  • sendgrid-java
  • Stoplight's Prism, which lets you try out the API without actually sending email

Run it in interactive mode with -it.

You can mount repositories in the /mnt/sendgrid-java and /mnt/java-http-client directories to use them instead of the default SendGrid libraries. Read on for more info.

Testing

Testing is easy!

  1. Run the container: docker run -it sendgrid/sendgrid-java
  2. cd sendgrid-java
  3. run ./gradlew test

About

sendgrid-java is guided and supported by the SendGrid Developer Experience Team.

sendgrid-java is maintained and funded by SendGrid, Inc. The names and logos for sendgrid-java are trademarks of SendGrid, Inc.

SendGrid Logo