Skip to content

北京邮电大学物联网工程(BUPT-QMUL-IOT) EBU6304 Software Engineering 软件工程课程项目设计/Spingboot/设计模式/敏捷开发

Notifications You must be signed in to change notification settings

Qianmoxsn/childbank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment Guide for Child Bank Project

Prerequisites

Before you begin, ensure you have the following installed:

  • Java 20 (JDK)
  • Apache Maven

Start from Jar File

To run the project using the jar file created in the packaging step, use the following command:

java -jar childbank-<tag>-<version>-SNAPSHOT.jar

Replace <tag> and <version> with the actual tag and version of the jar file.


Start from Source Code

Clone from Github

  1. Clone the Repository

    git clone https://github.com/Qianmoxsn/childbank.git
    cd childbank
  2. Navigate to the Project Directory

    cd childbank

Testing the Project

To run the tests included in the project, use the following command:

mvn test

This will compile the project and run all the tests defined in the src/test/java directory.

Compiling the Project

To compile the project, use the following command:

mvn compile

This command will compile the source code located in the src/main/java directory.

Packaging the Project

To package the project into a jar file, use the following command:

mvn package

This command will compile the project and package it into a jar file, which will be located in the target directory.

Running the Project

After you package the project, you can run the program like # Start from Jar File section.

Additional Maven Commands

  • Clean the Project: This command removes the target directory with all the build data before performing the actual build.
    mvn clean

Troubleshooting

  • Maven not recognized: Ensure Maven is installed and the MAVEN_HOME environment variable is set correctly.
  • Java version issues: Ensure the correct Java version is installed and the JAVA_HOME environment variable is set correctly.
  • Dependency issues: Run mvn dependency:resolve to resolve and download dependencies specified in the pom.xml file.

About

北京邮电大学物联网工程(BUPT-QMUL-IOT) EBU6304 Software Engineering 软件工程课程项目设计/Spingboot/设计模式/敏捷开发

Resources

Stars

Watchers

Forks

Languages