程序员的资源宝库

网站首页 > gitee 正文

spring cloud学习笔记--04后台管理系统搭建

sanyeah 2024-04-13 16:07:10 gitee 5 ℃ 0 评论

使用renren-fast快速开发平台搭建后台管理系统

使用git下载项目


# 后台项目

git clone https://gitee.com/renrenio/renren-fast.git
#前端项目

git clone https://gitee.com/renrenio/renren-fast-vue.git
  • 下载好之后将后台项目导入到idea中,并将其中的db目录下的sql文件在mysql(在mysql中创建gulimall-admin的数据库)中执行。
  • yml配置文件中修改数据库的连接信息。

将前端项目通过vs code打开。

坑点

  • 1、如果电脑中配置了python3的环境变量,在启动前端项目会报错,需要将python3换为python2.7版本
    可通过命令npm install --global --production windows-build-tools快速设置python2.7
  • 2、如果启动过程中node sass模块报错,说明当前安装的node cass不兼容当前环境的node版本,需要删除重装一下
      npm uninstall --save node-sass
      cnpm install --save node-sass
  • 错误排除完后,通过命令npm run dev启动前端项目!!

启动成功后的后台项目访问http://127.0.0.1:8080/renren-fast/ 有如下返回

启动成功后的前端项目访问http://localhost:8001/#/home 有如下返回

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表