Configuration management——Package and release management 【Organize online videos】

Arranged according to the video: Library Management System Zero Environment Operation Tutorial_哔哩哔哩_bilibili

Table of contents

1. fork warehouse

2. Clone the warehouse to the local

 3. Switch to the maven branch

 4) Install and configure the tomcat environment

 5) Install and configure the maven environment

6) eclipse import maven project

7) Create a database

8) Confirm database connection information

11. Common error handling


1. fork warehouse

Please log in to gitee.com and fork the library management system to your own gitee

Fork's warehouse address   : Book Management System: A web-side book management system completed using jsp, layui, and mysql, including three modules: user book borrowing, librarian, and system administrator, with complete functions. https://gitee.com/mingyuefusu/tushuguanlixitong

2. Clone the warehouse to the local

Create a new folder mywork, and open the git command window in the folder, and the git warehouse to the local

git clone https://gitee.com/caohongxing7604/tushuguanlixitong.git

 3. Switch to the maven branch

Go to the project directory and switch to the maven branch

 cd tushuguanlixitong/
git checkout maven

 

 4) Install and configure the tomcat environment


Tomcat installation is relatively simple, refer to the blog to complete: tomcat installation and configuration_Cao Hongxing's Blog-CSDN Blog

 5) Install and configure the maven environment

Download and configuration of maven - Cao Hongxing's blog - CSDN blog

6) eclipse import maven project

File -> import, select Maven -> Existing Maven Project in the pop-up window, click [Next],
click [brwser...] on the pop-up window, select pom.xml, and click [finish] The specific interface is as follows:

 

 

7) Create a database

After creating a new database library, after copying the sql statement, execute the following

8) Confirm database connection information

Confirm the account, the port is correct

 9) Recompile

Confirm the account, the port is executing maven clean first to clear the compilation results

 

 

10) Open the server view, add the application to the server, and start

Click the menu windows -> show view -> server to open the server view

 If the tomcat server has not been configured before. You need to configure,

Then add the library to the server

 Click [start] in the right-click menu of the server to start

12) The browser opens the program

http://localhost:8080/library/reader/04readerFrame.jsp

The page is garbled. According to the following common problems, it can be normal

User account password: 1805010219 1234

Librarian account password: root 1234

System administrator account password: admin admin

If you encounter problems that cannot be solved or need relevant documents for course design, please add the Q group exchange group of the video author: 1021590105

For details, please refer to

Book management system: A web-side book management system completed using jsp, layui, and mysql, including three modules: user book borrowing, librarian, and system administrator, with complete functions. - Gitee.com

11. Common error handling

Handling of some error conditions. Video from author

Set workspace encoding

Guess you like

Origin blog.csdn.net/caohongxing/article/details/129933670