Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

hsweb 演示

演示如何在新项目中使用hsweb 基于hsweb-frameworkhsweb-platform

环境

运行唯一需要的环境: java8

运行

直接运行

    $ ./mvnw spring-boot:run    #linux
    $ mvnw.cmd spring-boot:run  #windows

IDE 导入ide后等待maven依赖下载完成后执行org.hsweb.demo.Run

目录说明

----------src/main/java
---------------org.hsweb.demo
--------------------bean,controller,dao,service #不做过多说明,都懂
--------------------Run.java                    #项目启动类,直接运行启动项目
----------resources
---------------config                           #配置目录(logback和mybatis配置文件)
---------------mappers                          #mybatis mapper配置文件
---------------scripts.initialize               #系统初始化脚本
---------------templates                        #模板文件(freemarker)
---------------static                           #静态文件目录
---------------application.yml                  #应用主配置,数据源啥的都在这里

访问

启动成功登录后,用浏览器打开 http://localhost:8080/ 帐号:admin 密码:admin 上报问题

注意

启动日志提示sigar-amd64-winnt.dll相关错误,这是系统监控需要的库,不引入不影响程序运行. 要使用系统监控功能,请自行将 sigar-amd64-winnt.dll 放入system32 目录或者libsigar-amd64-linux.so /usr/lib 目录. 下载地址

Comments ( 0 )

Sign in for post a comment

About

hsweb 项目演示 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more