rename project fix

This commit is contained in:
alex 2024-08-11 13:48:33 -04:00
parent 5d214244ec
commit 3f10d6224a
10 changed files with 18 additions and 9 deletions

View File

@ -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"]

View File

@ -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

View File

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<!-- Project from https://start.vaadin.com/project/6f77deb3-8326-4444-8c05-0398f79d7fee -->
<groupId>com.primefactorsolutions</groupId>
<artifactId>pfs-recruiting</artifactId>
<name>pfs-recruiting</name>
<artifactId>pfs-intra</artifactId>
<name>pfs-intra</name>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

Binary file not shown.

View File

@ -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) {

View File

@ -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);
}

9
vite.config.ts Normal file
View File

@ -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);