This is an example of the Krausening setup on Windows. We use Krausening (https://bitbucket.org/askllc/krausening) to manage properties externally as we bounce between OS and machines for dev, test, and prod.
Last active
February 26, 2017 02:27
-
-
Save cnative100/136d344d63c211d775b7dfbe64a0b5db to your computer and use it in GitHub Desktop.
Krausening (Externalized) Properties for GreenMaven
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
database.url=jdbc:mysql://localhost:3306/farmhacker | |
database.user=root | |
database.password=mydatabasepassword | |
database.driver.class=com.mysql.jdbc.Driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem Add this near the top of the startup script in Tomcat. | |
rem Be sure to actually create the base and extension folders to your tomcat/conf folder. | |
set JAVA_OPTS=-DKRAUSENING_BASE="C:/dev/tomcat8/conf/krausening/base" -DKRAUSENING_EXTENSION="C:/dev/tomcat8/conf/krausening/localhost" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment