-
Notifications
You must be signed in to change notification settings - Fork 80
Run server locally
yuriikoval1997 edited this page Jan 7, 2020
·
1 revision
- You should create environmental variables that are defined in
application-dev.properties
. - You should create database
greencity
. All these variables you can set in Intellij Idea. For instance,
spring.datasource.url=${DATASOURCE_URL}
spring.datasource.username=${DATASOURCE_USER}
spring.datasource.password=${DATASOURCE_PASSWORD}
spring.mail.username=${EMAIL_ADDRESS}
spring.mail.password=${EMAIL_PASSWORD}
- If you did everything correctly, you should be able access swagger by this URL: http://localhost:8080/swagger-ui.html#/