后端
部署前必要软件安装
Java Development Kit(JDK) version:17
Maven version:3.6.2
mysql version:5.7.38
navicat
目标电脑上部署后端
- 将SpringBoot项目文件夹复制在目标电脑的任何位置
- 目标电脑分配E盘
- 目录:/itmk-base-web/src/main/resource/ 文件:application-test.yml,在该文件中将数据库名,mysql(账号,密码)修改成目标电脑上的。
数据库连接配置代码位置
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/outserve?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: mysql123
mvc:
static-path-pattern: /**
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
数据库文件运行导入
只需将根目录下提供的
for-job.sql
文件在MySQL数据库中运行即可!!!
前端
推荐的IDE设置
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
项目设置
- Compile and Hot-Reload for DevelopmentRecommend!!!!
npm install
npm run dev
- Type-Check, Compile and Minify for Production
npm run build
- Lint with ESLint
npm run lint
git 仓库地址
前端:https://gitee.com/luoyuXiaogege/for-job
后端:https://gitee.com/buaibianchengdexiaocao/outserve_three.git