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
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.
Run the following command in the root folder of the project:
docker-compose -f src/main/docker/postgresql.yml up -d
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
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.