Skip to content

Commit

Permalink
Update project name to Tradeverse.
Browse files Browse the repository at this point in the history
  • Loading branch information
melihakpinar committed Oct 11, 2024
1 parent 229ee65 commit f0f387e
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 29 deletions.
19 changes: 0 additions & 19 deletions backend/.mvn/wrapper/maven-wrapper.properties

This file was deleted.

14 changes: 14 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM maven:latest as builder

WORKDIR /app

COPY pom.xml .
COPY src ./src

RUN mvn clean package -DskipTests

FROM openjdk:21-slim

COPY --from=builder /app/target/*.jar app.jar

ENTRYPOINT ["java","-jar","/app.jar"]
8 changes: 4 additions & 4 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<version>3.3.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<groupId>com.bounswe2024group10</groupId>
<artifactId>Tradeverse</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo</name>
<description>Demo project for Spring Boot</description>
<name>Tradeverse</name>
<description>A web forum related to financial news, analysises, etc.</description>
<url/>
<licenses>
<license/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.example.demo;
package com.bounswe2024group10.Tradeverse;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoApplication {
public class TradeverseApplication {

public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
SpringApplication.run(TradeverseApplication.class, args);
}

}
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
spring.application.name=demo
spring.application.name=Tradeverse
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.example.demo;
package com.bounswe2024group10.Tradeverse;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class DemoApplicationTests {
class TradeverseApplicationTests {

@Test
void contextLoads() {
Expand Down

0 comments on commit f0f387e

Please sign in to comment.