-
Notifications
You must be signed in to change notification settings - Fork 206
Run sagan to test your own content
Geoffrey De Smet edited this page Jan 8, 2020
·
3 revisions
To write your own guide, it's handy to test out your changes locally.
git clone [email protected]:spring-io/sagan.git
cd sagan
-
Edit Sagan's configuration to use your
gs-
repository. ./gradlew clean :sagan-renderer:bootRun
./gradlew clean :sagan-site:bootRun
- Visit http://localhost:8080/guides
This process will check out and run the sagan app on your local machine.
NOTE: You must have Java 8 to do so
Any projects in your own GitHub space that start with "gs-*" will be listed underneath the guides. Certain caching features may be in place, so sometimes, it's easier to shut down and re-start the app the see your edits.
Also be advised, that to make edits to your guide, you MUST push them to your GitHub space. When your guide appears sufficiently edited, continue with the submission process.