安装配置环境
配置git环境
1. 安装Git Bash:https://gitforwindows.org/
2. 进入家目录生成秘钥:执行命令ssh-keygen
3. 在Gitee上注册账号,地址:https://gitee.com/
4. 将id_rsa.pub的内容复制到Gitee上
安装前端环境vscode
vscode下载地址:https://code.visualstudio.com/
安装vue并配置环境
终端
Windows上推荐用powershell,cmd,Git Bash。
安装Nodejs
Nodejs下载安装地址:https://nodejs.org/en/
(本项目采用v16.15.1版本)
安装@vue/cli
使用Git Bash,执行:(本项目采用4.0版本)
npm i -g @vue/cli@4
安装配置Mysql
下载Mysql
Windows下载地址(本项目采用8.0版本)https://dev.mysql.com/downloads/windows/installer/8.0.html
安装Mysql
配置环境变量
将C:\Program Files\MySQL\MySQL Server 8.0\bin(如果安装到了其他目录,填写相应目录的地址即可)添加到环境变量PATH中,这样就可以在任意目录的终端中执行mysql命令了。
mysql服务的关闭与启动
用powershell管理员权限执行
net stop mysql80 //关闭
net start mysql80 //启动
安装后端环境idea
本项目采用2020版本
百度云盘 链接
提取码:gqa5
JDK 本项目采用1.8版本
运行hello world