Running the Twitter Gathering

This application is a little bit more complicated to run. We need to configure some environment variables for that. It is required because we do not want the Twitter application credentials in our repository.

It is pretty simple to do in the IDE. To do that, we can configure the run configuration. Let's do it:

  1. Click on the Edit Configurations... like in the following image:

Then, we are able to see the Environment variables like this:

  1. We need to click on ..., as highlighted in the proceeding image.
  2. The next ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.