Ready to deploy

This commit is contained in:
Maximilian Leopold 2019-04-18 12:48:33 +02:00
parent 22ed8e41e2
commit 496c5fcb6b
4 changed files with 9 additions and 5 deletions

View File

@ -7,6 +7,7 @@ plugins {
apply plugin: 'io.spring.dependency-management'
apply plugin: 'idea'
apply plugin: 'com.moowork.node'
apply plugin: 'war'
group = 'de.hhn.labsw'
version = '0.0.1-SNAPSHOT'
@ -37,7 +38,7 @@ dependencies {
compile 'com.googlecode.json-simple:json-simple:1.1.1'
//compile 'org.springframework.boot:spring-boot-starter-tomcat'
compile 'org.springframework.boot:spring-boot-starter-tomcat'
//compile 'org.springframework.boot:spring-boot-starter-security'
//compile 'org.springframework.boot:spring-boot-starter-actuator'
//compile 'org.springframework.boot:spring-boot-starter-aop'
@ -46,6 +47,8 @@ dependencies {
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.1.4.RELEASE'
//compile group: 'at.favre.lib', name: 'bcrypt', version: '{latest-version}'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
//JWT
compile 'io.jsonwebtoken:jjwt-api:0.10.5'
runtime 'io.jsonwebtoken:jjwt-impl:0.10.5',

View File

@ -106,8 +106,8 @@ module.exports = function (ctx) {
API: JSON.stringify('http://localhost:8080')
}
: { // Base URL for API-Calls: PRODUCTION (build)
API: JSON.stringify('http://se.hs-heilbronn.de:8090')
//API: JSON.stringify('http://se.hs-heilbronn.de:8090')
API: JSON.stringify('http://seserver.se.hs-heilbronn.de:8090/buga19geocaching')
}
},

View File

@ -8,12 +8,12 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
public class Application{
public class Application extends SpringBootServletInitializer{
/**@Override
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Application.class);
}**/
}
public static void main(String[] args) throws Exception {
SpringApplication.run(Application.class, args);

View File

@ -1,6 +1,7 @@
spring.datasource.url=jdbc:mariadb://seserver.se.hs-heilbronn.de:3406/buga19Geocaching
spring.datasource.username=BuGa19GeocachingUser
spring.datasource.password=GeocachingPw
spring.jmx.default-domain=buga19geocaching
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true