diff --git a/Dockerfile b/Dockerfile index 4f70c5e..7ff7db7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM openjdk:21-jdk-buster as build RUN apt-get install -y git -RUN git clone https://git.primefactorsolutions.com/PFS/pfs-recruiting.git -RUN cd pfs-recruiting && ./mvnw clean package -Pproduction +RUN git clone https://git.primefactorsolutions.com/PFS/pfs-intra.git +RUN cd pfs-intra && ./mvnw clean package -Pproduction FROM build -COPY --from=0 pfs-recruiting/target/*.jar app.jar +COPY --from=0 pfs-intra/target/*.jar app.jar EXPOSE 8080 ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file diff --git a/README.md b/README.md index 73062aa..5dd93e3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pfs-recruiting +# pfs-intra This project can be used as a starting point to create your own Vaadin application with Spring Boot. It contains all the necessary configuration and some placeholder files to get you started. @@ -20,7 +20,7 @@ This will build a JAR file with all the dependencies and front-end resources, ready to be deployed. The file can be found in the `target` folder after the build completes. Once the JAR file is built, you can run it using -`java -jar target/pfs-recruiting-1.0-SNAPSHOT.jar` +`java -jar target/pfs-intra-1.0-SNAPSHOT.jar` ## Project structure diff --git a/pom.xml b/pom.xml index fdebaeb..8cd262a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,8 @@ 4.0.0 com.primefactorsolutions - pfs-recruiting - pfs-recruiting + pfs-intra + pfs-intra 1.0-SNAPSHOT jar diff --git a/src/main/bundles/dev.bundle b/src/main/bundles/dev.bundle index 8e3d18b..8bb97d2 100644 Binary files a/src/main/bundles/dev.bundle and b/src/main/bundles/dev.bundle differ diff --git a/src/main/frontend/themes/pfs-recruiting/main-layout.css b/src/main/frontend/themes/pfs-intra/main-layout.css similarity index 100% rename from src/main/frontend/themes/pfs-recruiting/main-layout.css rename to src/main/frontend/themes/pfs-intra/main-layout.css diff --git a/src/main/frontend/themes/pfs-recruiting/styles.css b/src/main/frontend/themes/pfs-intra/styles.css similarity index 100% rename from src/main/frontend/themes/pfs-recruiting/styles.css rename to src/main/frontend/themes/pfs-intra/styles.css diff --git a/src/main/frontend/themes/pfs-recruiting/theme.json b/src/main/frontend/themes/pfs-intra/theme.json similarity index 100% rename from src/main/frontend/themes/pfs-recruiting/theme.json rename to src/main/frontend/themes/pfs-intra/theme.json diff --git a/src/main/java/com/primefactorsolutions/Application.java b/src/main/java/com/primefactorsolutions/Application.java index 03b6faa..8a4a1d5 100644 --- a/src/main/java/com/primefactorsolutions/Application.java +++ b/src/main/java/com/primefactorsolutions/Application.java @@ -13,7 +13,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; * */ @SpringBootApplication -@Theme(value = "pfs-recruiting") +@Theme(value = "pfs-intra") public class Application implements AppShellConfigurator { public static void main(String[] args) { diff --git a/src/main/java/com/primefactorsolutions/views/LoginView.java b/src/main/java/com/primefactorsolutions/views/LoginView.java index 7f97914..6864493 100644 --- a/src/main/java/com/primefactorsolutions/views/LoginView.java +++ b/src/main/java/com/primefactorsolutions/views/LoginView.java @@ -24,7 +24,7 @@ public class LoginView extends VerticalLayout implements BeforeEnterObserver { login.setAction("login"); - add(new H1("PFS Recruiting")); + add(new H1("PFS Intra")); add(login); } diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..4d6a022 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,9 @@ +import { UserConfigFn } from 'vite'; +import { overrideVaadinConfig } from './vite.generated'; + +const customConfig: UserConfigFn = (env) => ({ + // Here you can add custom Vite parameters + // https://vitejs.dev/config/ +}); + +export default overrideVaadinConfig(customConfig);