Development Environment - Qkyrie/wowscrappie GitHub Wiki
##Configuration Files
Spring boot uses property files to configure dynamic properties. Most of the properties are already set in src/main/resources/application.properties. However, for security reasons, we excluded some of them, which should be added to a file called src/main/resources/application-local.properties.
As you'll see in our configuration, the default profile for the application is local, unless overridden. Therefore, spring boot will also pick up the application-local.properties, which you can add (because it is excluded from the git repository). In this file, you can override any properties you wish.
#Example local configuration
db.url=jdbc:mysql://localhost:3306/wowscrappie
db.username=wowscrappie
db.password=wowscrappie
#obtain from https://dev.battle.net
battlenet.api.client.appId=appId
battlenet.api.client.appSecret=appSecret
#obtain from warcraftlogs
com.deswaef.scrappie.warcraftlogs.publickey=*EMPTY*
##Using Docker as our development environment
###Redis
TODO
###MySQL
TODO
##Temporary Filestore Our files (music, scripts and images) are saved in the folders we defined in application.properties (which you can of course override).
The default configuration is:
com.deswaef.scrappie.imagestore=/tmp/wowscrappie/scrappie-image-store
com.deswaef.scrappie.soundstore=/tmp/wowscrappie/scrappie-sound-store
com.deswaef.scrappie.mailstore=/tmp/wowscrappie/scrappie-mail-store
com.deswaef.scrappie.scriptstore=/tmp/wowscrappie/scrappie-script-store
If you would like to use the default configuration, you'll have to create those temporary files.