514840279 / danyuan-application-cloud

初学者 spring-cloud 版本,

Home Page:http://danyuan.wang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

danyuan-application(C版)

GitHub issuesGitHub forksGitHub starsGitHub licenseTwitter

系统采用技术或开源框架:

  1. 前端模板:adminLTE
  2. 前端技术:vue
  3. 后端技术:spring-cloud,nginx,maven,node...
  4. 数据库: mysql
  5. 其他工具:sts,vscode

项目启动配置:

  1. 系统安装jdk1.8,mysql5.7,maven3.3 node ,nginx,sts,vscode

  2. 新建数据库:application

  3. 导入数据库脚本 sql/AllForC.sql

  4. 需要修改启动配置nginx 监听服务端口81 改代理端口82 ,有示例模板(design/nginx.conf)

 server {
     listen       81;
     server_name  localhost;
     location / {
         root   html;
         index  index.html index.htm;
		proxy_redirect off;
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_pass http://localhost:82;
     }  
  1. 启动服务端: 1. 执行 start/start-build.bat
    2. 执行 start/start-all.bat

  2. 启动客户端; 客户端是由node创建的vue框架,所以需要使用node运行

    	cd   danyuan-application-web-vue-lte
    1. install dependencies
    	npm install
    	#npm install --save vue-router
    	#npm install --save axios
    1. serve with hot reload at localhost:80
    	npm run dev
    1. http://localhost

About

初学者 spring-cloud 版本,

http://danyuan.wang

License:Apache License 2.0


Languages

Language:Java 98.0%Language:Python 1.1%Language:CSS 0.6%Language:Batchfile 0.3%Language:Vue 0.0%