谷粒商城基础篇-day02(p12-p16)

一、Maven仓库配置

Maven仓库配置阿里云镜像

打开Maven文件夹下conf文件夹下settings.xml

 <mirror>
        <id>alimaven</id>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
        <mirrorOf>central</mirrorOf>
    </mirror>

 profile我没配置,直接打开idea安装lombok和Mybatisx插件,打开vscode安装auto close tag,Auto Rename Tag,Chinese,ESlint,html.css,javaScript,live server,open in browser,vetur插件

二、安装git

下载git客户端

 git官网​​​​​​ghttps://git-scm.com/https://git-scm.com/

 右击鼠标打开git bash here

输入

git config --global user.name "XXXXXX"

git config --global user.email "XXXXXXX@qq.com"

 git经常跟码云连接,使用ssh免密登录

ssh-keygen -t rsa -C "xxxxx@xxxxx.com"(三次回车生成秘钥)
cat ~/.ssh/id_rsa.pub  查看完整秘钥  复制秘钥登录码云
安装vscode,下载

 

 在Git上创建一个仓库,用idea把项目拉取下来,创建微服务模块

勾选依赖

 依次创建微服务模块

 将几个微服务模块聚合起来

 

 刷新Maven仓库

 二、安装ignore插件控制Git不提交多余的文件,安装Git插件

三、连接虚拟机数据库

我们在虚拟机里安装了docker,在docker里面安装了redis和mysql,将docker里的redis和mysql设置为虚拟机开机自动启动

sudo docker update redis  --restart=always

sudo docker update mysql --restart=always

 

oms  - 订单系统、sms  - 营销系统、ums  - 用户系统、wms  - 库存系统、pms  - 商品系统

然后依次导入数据库文件依次执行

四、搭建后台管理系统

打开码云进入人人开源

https://gitee.com/renrenio

 将renren-fast-vue和renren-fast加载到vscode和idea,然后配置项目,在数据库中执行第三步

 打开renren-fast下的application.properties文件

 安装node(用gnvm管理node版本最好),启动前端项目,进行前后端联调

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
gulimall_pms 商品 drop table if exists pms_attr; drop table if exists pms_attr_attrgroup_relation; drop table if exists pms_attr_group; drop table if exists pms_brand; drop table if exists pms_category; drop table if exists pms_category_brand_relation; drop table if exists pms_comment_replay; drop table if exists pms_product_attr_value; drop table if exists pms_sku_images; drop table if exists pms_sku_info; drop table if exists pms_sku_sale_attr_value; drop table if exists pms_spu_comment; drop table if exists pms_spu_images; drop table if exists pms_spu_info; drop table if exists pms_spu_info_desc; /*==============================================================*/ /* Table: pms_attr */ /*==============================================================*/ create table pms_attr ( attr_id bigint not null auto_increment comment '属性id', attr_name char(30) comment '属性名', search_type tinyint comment '是否需要检索[0-不需要,1-需要]', icon varchar(255) comment '属性图标', value_select char(255) comment '可选值列表[用逗号分隔]', attr_type tinyint comment '属性类型[0-销售属性,1-基本属性,2-既是销售属性又是基本属性]', enable bigint comment '启用状态[0 - 禁用,1 - 启用]', catelog_id bigint comment '所属分类', show_desc tinyint comment '快速展示【是否展示在介绍上;0-否 1-是】,在sku中仍然可以调整', primary key (attr_id) ); alter table pms_attr comment '商品属性'; /*==============================================================*/ /* Table: pms_attr_attrgroup_relation */ /*==============================================================*/ create table pms_attr_attrgroup_relation ( id bigint not null auto_increment comment 'id', attr_id bigint comment '属性id', attr_group_id bigint comment '属性分组id', attr_sort int comment '属性组内排序', primary key (id) ); alter table pms_attr_attrgroup_relation comment '属性&

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值