Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.01 KB

dev.md

File metadata and controls

40 lines (32 loc) · 1.01 KB

Development

Code Style

  • Following Google convention.
  • Set Tab with Indent = 4.

Gradle Run

./gradlew bootRun

Continuous Auto-restart With Spring Boot DevTools and Gradle

Note: The two following configs are for developers who only want to work on server part only and developers want to work on both server and cms. This is to cut down the time when we have to build cms over again with every change in server.

Hot Reload with only Spring mvc, no cms build

For non-Window users, we need to open two terminals:

  1. At the first terminal, start Gradle build as a continuous task:
./scripts/hot-reload-server.sh
  1. At the second terminal, start the Gradle bootRun task:
./scripts/run.sh

Hot Reload including cms

For non-Window users, we need to open two terminals:

  1. At the first terminal, start Gradle build as a continuous task:
./scripts/hot-reload-with-cms.sh
  1. At the second terminal, start the Gradle bootRun task:
./scripts/run.sh