Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.64 KB

DEVELOPMENT.md

File metadata and controls

49 lines (33 loc) · 1.64 KB

Developer Instructions

Getting Started

After cloning the repository, you need to do two things.

That's it, you're ready to go. Run the following commands in two separate terminals to create a blissful development experience:

./gradlew -x webapp & npm start

Mailing

If you want to test the mailing as well, you must add the file /src/main/resources/config/application-mail.yml and configure it according to the official documentation (adding the spring.mail properties, that is). Make sure you do overwrite jhipster.mailing.enabled=true inside that properties file too. If no mailing provider is available, the messages will be printed to stdout.

PostgreSQL configuration

Run the following command in the root folder of the project:

docker-compose -f src/main/docker/postgresql.yml up -d

Auth0 configuration

Follow the instructions given in JHIPSTER.md. Make sure that you export the following environment variables with your secret values:

  • APPL_OAUTH2_AUDIENCE
  • APPL_OIDC_CLIENT_ID
  • APPL_OIDC_CLIENT_SECRET
  • APPL_OIDC_ISSUER_URI

Testing

Running Tests on localhost

If you want to run tests on localhost, make sure you have Docker available. Execute the backend tests with SPRING_PROFILES_ACTIVE=testdev to start all required dependencies (e.g. Redis and PostgreSQL) inside test containers.