Summer internship at SberTech of team 1.
- It is necessary to install JDK version 11 or higher, PostgreSQL.
- You need create database with some name (for example, "gateway") like here.
- Download "gateway-version.jar" and "application.properties" files from releases.
- Open config file "application.properties" and set your port, database name, postgres password.
server.port=<port>
spring.datasource.url=jdbc:postgresql://localhost/<database name>
spring.datasource.username=postgres
spring.datasource.password=<postgres password>
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create-drop
ping.interval=10000
ping.check_time=30000
- Launch app with parameters:
java -jar ./gateway-<version>.jar --spring.config.location=./application.properties