Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 833 Bytes

File metadata and controls

21 lines (14 loc) · 833 Bytes

P2P-Shopping

Please check CONTRIBUTING.md for guidelines.

Local development

You may create a local properties file at src/main/resources/application-local.properties, which overrides matching keys from application.properties. To use it, run with the local Spring profile:

SPRING_PROFILES_ACTIVE=local ./gradlew bootRun

The local profile uses spring.jpa.hibernate.ddl-auto=update so Hibernate can create or adjust the schema during development.

In IntelliJ IDEA, you can set this up by following these steps:

  • Click the configurations dropdown
  • Click Edit Configurations...
  • Select the only configuration under Spring Boot
  • In the right pane, type local in the Active profiles box.