JHipster comes with two "profiles":
Those profiles come in two different configurations:
mvn -Pprod packagewill package a production application.
Spring profiles are set by Maven, so we have a consistancy between the two methods: of course, you should have a "prod" profile on Maven and Spring at the same time.
If you run the application without Maven, launch the "Application" class (you can probably run it easily from your IDE by right-clicking on it).
If you run the application with Maven, run
Use Maven to build the application with the "prod" profile:
mvn -Pprod spring-boot:run