Before running this application, ensure you havw the following installed:
- JDK 8
- Maven 3
- MySQL
Steps to Install:
- Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/zihe-git/restaurant-ordering-and-cashier-system.git
- Navigate to the Project Directory:
cd my-java-webapp
- Install Dependencies and Build the Project: Use Maven to install all necessary dependencies and build the project:
mvn install
- Configure the Database
To run the application, use the following Maven command:mvn spring-boot:run
Once the application is running, open your web browser and navigate to:http://localhost:8080
在运行此应用程序之前,请确保您已安装以下内容:
- JDK 8
- Maven 3
- MySQL
安装步骤:
- 克隆仓库: 将此仓库克隆到本地计算机,使用以下命令:
git clone https://github.com/zihe-git/restaurant-ordering-and-cashier-system.git
- 进入项目目录:
cd my-java-webapp
- 安装依赖并构建项目: 使用 Maven 安装所有必要的依赖并构建项目:
mvn install
- 配置数据库
要运行该应用程序,请使用以下 Maven 命令:mvn spring-boot:run
应用程序启动后,打开您的浏览器并访问:http://localhost:8080