rename project fix
This commit is contained in:
parent
5d214244ec
commit
3f10d6224a
@ -1,9 +1,9 @@
|
|||||||
FROM openjdk:21-jdk-buster as build
|
FROM openjdk:21-jdk-buster as build
|
||||||
RUN apt-get install -y git
|
RUN apt-get install -y git
|
||||||
RUN git clone https://git.primefactorsolutions.com/PFS/pfs-recruiting.git
|
RUN git clone https://git.primefactorsolutions.com/PFS/pfs-intra.git
|
||||||
RUN cd pfs-recruiting && ./mvnw clean package -Pproduction
|
RUN cd pfs-intra && ./mvnw clean package -Pproduction
|
||||||
|
|
||||||
FROM build
|
FROM build
|
||||||
COPY --from=0 pfs-recruiting/target/*.jar app.jar
|
COPY --from=0 pfs-intra/target/*.jar app.jar
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["java", "-jar", "/app.jar"]
|
ENTRYPOINT ["java", "-jar", "/app.jar"]
|
@ -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.
|
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.
|
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.
|
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
|
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
|
## Project structure
|
||||||
|
|
||||||
|
4
pom.xml
4
pom.xml
@ -4,8 +4,8 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<!-- Project from https://start.vaadin.com/project/6f77deb3-8326-4444-8c05-0398f79d7fee -->
|
<!-- Project from https://start.vaadin.com/project/6f77deb3-8326-4444-8c05-0398f79d7fee -->
|
||||||
<groupId>com.primefactorsolutions</groupId>
|
<groupId>com.primefactorsolutions</groupId>
|
||||||
<artifactId>pfs-recruiting</artifactId>
|
<artifactId>pfs-intra</artifactId>
|
||||||
<name>pfs-recruiting</name>
|
<name>pfs-intra</name>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
Binary file not shown.
@ -13,7 +13,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@Theme(value = "pfs-recruiting")
|
@Theme(value = "pfs-intra")
|
||||||
public class Application implements AppShellConfigurator {
|
public class Application implements AppShellConfigurator {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
@ -24,7 +24,7 @@ public class LoginView extends VerticalLayout implements BeforeEnterObserver {
|
|||||||
|
|
||||||
login.setAction("login");
|
login.setAction("login");
|
||||||
|
|
||||||
add(new H1("PFS Recruiting"));
|
add(new H1("PFS Intra"));
|
||||||
add(login);
|
add(login);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
9
vite.config.ts
Normal file
9
vite.config.ts
Normal 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);
|
Loading…
Reference in New Issue
Block a user