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

Run the site locally

Chris Beams edited this page Mar 26, 2014 · 24 revisions

Goal

Run the Sagan site application locally, so that it can be browsed at http://localhost:8080.

Prerequisites

  1. Set up environment

Steps

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

./gradlew :sagan-site:bootRun

Note: Spring Boot also allows running apps with the java -jar command, but this feature is not yet available in Sagan - see #191 for more details.

2. After a few seconds, you should see:

sagan.SiteMain  : Started SiteMain in 8.455 seconds

3. Go to http://localhost:8080.

Next steps

At this point, you may want to build everything or import into IDEA or Eclipse if you have not already.

Clone this wiki locally