"Android installation package management background" - back-end springboot source code deployment

Table of contents

1. Development environment preparation before deployment

2. Download:

3. Import database table

4. Import project to idea

5. Install and develop commonly used plug-ins

 Six, run the project

7. Test interface

8. Deploy the front-end to the local


1. Development environment preparation before deployment

(1), install jdk1.8 and above.

(2), install mysql 8.0, and install the client Navicat or MySQL Workbench .

(3) There is no requirement to install the version of IntelliJ IDEA. It is recommended that the higher the version, the better.

(4), install redis 3.0

The above self-installation, there are many online tutorials, so I won’t repeat the wheel.

2. Download:

xxfen/apkManagement-java: Android installation package management background-java (github.com) icon-default.png?t=N176https://github.com/xxfen/apkManagement-java

3. Import database table

Create a new database name: apkManagement, and import Dump.sql in the downloaded project to the apkManagement database.

Take navicat as an example, first connect to mysql, and then create a new database in mysql

Right-click the apkManagement database, run the sql file, and select the Dump.sql file

 Refresh to view the database tables.

4. Import project to idea

The premise is that after the above preparatory work is completed, pay attention to whether the jdk version is specified for the idea. If not, specify the installed jdk. Normally, it will automatically point to the locally installed jdk. As follows, I have installed both versions of jdk.

Then open the downloaded and decompressed project in idea.

  • Download dependencies in the project

Click on mavm, and then click on the loading icon, it will be a bit slow to download dependencies, please wait patiently.

  •  Change setting

Click on application.yml

  •  First modify the mysql database password and change it to the password you installed and set yourself
  •  Modify redis configuration information

Modify the database number and password. The serial number is 0 by default. If redis is not used in other projects, it is not necessary to modify it.

  •  Modify the path of the local storage installation package file

5. Install and develop commonly used plug-ins

  • Install Lombok, in serrings = "plugins, click Marketplace to search for lombok, and then click download to install

  •  Install MybatisX, install and restart

 open the project after

 Friends who don't know the purpose of the plug-in, find out by yourself.

 Six, run the project

Start the database first, start redis,

Click to run the spring boot project,

It runs successfully without error message:

7. Test interface

  •  Access the Swagger interface address:

http://localhost:8090/swagger-ui.html

  •  Register an account:

Click try it out, fill in the parameters, click execute, return 200, registration is successful!

  •  test login

 Success, result=true and return role role and token

8. Deploy the front-end to the local

Front-end project deployment is simpler than back-end.

"Android Installation Package Management Background" - Front-end Vue3 Source Code Deployment - Xiao Xiaofeng's Blog - CSDN Blog

Finally, if you have any questions, please comment or private message me.

Guess you like

Origin blog.csdn.net/xxfen_/article/details/126051196