Skip to content

Commit

Permalink
Remove application.properties from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
enzoftware committed Apr 3, 2019
1 parent dffc27a commit 3e809e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ HELP.md
### VS Code ###
.vscode/

src/main/resources/application.properties
8 changes: 0 additions & 8 deletions src/main/resources/application.properties

This file was deleted.

14 changes: 14 additions & 0 deletions src/main/resources/application.properties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Application properties

Create the Schema in MySQL Workbench named `projectionapi`.
Then create the `application.properties` inside `src/main/resources` file with this lines:


`server.port=8080`
`spring.datasource.url=jdbc:mysql://localhost:3306/projectionapi?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC`
`spring.datasource.username=YOUR_DB_USERNAME`
`spring.datasource.password=YOUR_DB_PASSWORD`
`spring.jpa.hibernate.ddl-auto=update`
`spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver`
`spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect`

0 comments on commit 3e809e0

Please sign in to comment.