Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Run the renderer service

Dave Syer edited this page Jul 28, 2019 · 1 revision

Goal

Run the renderer service locally, so that the main site can render guides and blogs. Without the renderer the guides and blog will be non-functional in the app when it runs locally.

Prerequisites

Steps

Run the renderer locally from your IDE

Create a new run configuration with the class sagan.renderer.RendererApplication.

Then use this run configuration to start the site!

Run the site locally from the command line

From the root directory of your sagan repository, run the following:

Tip: New to Gradle? Check out Gradle tips!

./gradlew :sagan-renderer:bootRun

After a few seconds, you should see:

sagan.renderer.RendererApplication : Started RendererApplication

Now, go to http://localhost:8081 and you should see JSON listing the links in the service.