03-GuliMall 开发环境配置

1.Maven

找到你的maven安装位置的conf目录下的settings.xml文件
03-GuliMall 开发环境配置_第1张图片

在文件中加入阿里云镜像配置, 和jdk编译版本配置

  <mirrors>
      <mirror>
        <id>nexus-aliyunid>
        <mirrorOf>centralmirrorOf>
        <name>Nexus aliyunname>
        <url>http://maven.aliyun.com/nexus/content/groups/publicurl>
      mirror>
  mirrors>
  <profiles>
         <profile>
              <id>jdk-1.8id>
              <activation>
                <activeByDefault>trueactiveByDefault>
                <jdk>1.8jdk>
              activation>
              <properties>
                <maven.compiler.source>1.8maven.compiler.source>
                <maven.compiler.target>1.8maven.compiler.target>
                <maven.compiler.compilerVersion>1.8maven.compiler.compilerVersion>
              properties>
         profile>
  profiles>

2.Idea

idea 安装 lombok、mybatisx 插件

03-GuliMall 开发环境配置_第2张图片
安装完成

3.VsCode

Vscode 安装开发必备插件, 照着下面这个列表搜索安装

03-GuliMall 开发环境配置_第3张图片

 

Vetur —— 语法高亮、智能感知、Emmet 等 包含格式化功能, Alt+Shift+F (格式化全文),Ctrl+K Ctrl+F(格式化选中代码,两个 Ctrl需要同时按着) 

EsLint —— 语法纠错 

Auto Close Tag —— 自动闭合 HTML/XML 标签 

Auto Rename Tag —— 自动完成另一侧标签的同步修改 

JavaScript(ES6) code snippets — — ES6 语法智能提示以及快速输 入 , 除 js外还持.ts,.jsx,.tsx,.html,.vue,省去了配置其支持各种包含 js 代码文件的时间 

HTML CSS Support —— 让 html 标签上写 class 智能提示当前项目所支持的样式
 
HTML Snippets —— html 快速自动补全 

Open in browser —— 浏览器快速打开
 
Live Server —— 以内嵌服务器方式打开 

Chinese (Simplified) Language Pack for Visual Studio Code —— 中文语言包

4.Git

1.下载安装 git;https://git-scm.com
安装路径可以修改,其它的默认就行

2 配置git用户信息
配置 git,输入2以下命令

# 配置用户名 
git config --global user.name "username" 
# 配置邮箱
git config --global user.email "[email protected]" 

03-GuliMall 开发环境配置_第4张图片

3.配置 ssh 免密登录
进入 git bash;使用:ssh-keygen -t rsa -C "[email protected]"命令, 邮箱是你码云的登录邮箱。 连续三次回车。

ssh-keygen -t rsa -C "[email protected]"

03-GuliMall 开发环境配置_第5张图片

一般用户目录下会有
在这里插入图片描述

直接打开id_rsa.pub 文件查看内容或者 cat ~/.ssh/id_rsa.pub

在这里插入图片描述

登录进入 gitee,在设置里面找到 SSH KEY 将.pub 文件的内容粘贴进去 , 标题随便起
03-GuliMall 开发环境配置_第6张图片
03-GuliMall 开发环境配置_第7张图片

进入 git bash 使用 ssh -T [email protected] 测试是否成功即可

ssh -T [email protected]

03-GuliMall 开发环境配置_第8张图片
输入yes确定使用该密钥
03-GuliMall 开发环境配置_第9张图片

你可能感兴趣的:(谷粒商城学习笔记,spring,boot)