Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
23cf4eed
Commit
23cf4eed
authored
May 31, 2019
by
曲欣亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
da220d87
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
README.md
README.md
+20
-20
No files found.
README.md
View file @
23cf4eed
...
...
@@ -3,31 +3,31 @@
##开发环境搭建
###Eclipse安装
请到官网下载最新版本Eclipse并安装
最新版本Eclipse 已经内置集成Maven,Git等必要插件
安装完成后启动Eclipse
####
请到官网下载最新版本Eclipse并安装
####
最新版本Eclipse 已经内置集成Maven,Git等必要插件
####
安装完成后启动Eclipse
###GIT项目导入
1.
采用maven方式导入项目
点击File->import->Project for Git,选择Clone URI,输入Git代码地址: http://gitlab.egolm.com/key/sentinel.git
2.
修改项目编译JDK,请使用JDK8编译和运行项目
3.
安装本地Maven依赖,Sybase驱动
install:install-file -Dfile=D:/jconn4.jar -Dpackaging=jar -DgroupId=com.sybase -DartifactId=jdbc -Dversion=4
D:/jconn4.jar 为驱动程序jar包的绝对路径
4.
Maven依赖自动下载
刚导入项目依赖会报错,通过选中项目右键选择RunAS,再选择Maven install,控制台会下载项目所依赖的包。
####
1.采用maven方式导入项目
####
点击File->import->Project for Git,选择Clone URI,输入Git代码地址: http://gitlab.egolm.com/key/sentinel.git
####
2.修改项目编译JDK,请使用JDK8编译和运行项目
####
3.安装本地Maven依赖,Sybase驱动
####
install:install-file -Dfile=D:/jconn4.jar -Dpackaging=jar -DgroupId=com.sybase -DartifactId=jdbc -Dversion=4
####
D:/jconn4.jar 为驱动程序jar包的绝对路径
####
4.Maven依赖自动下载
####
刚导入项目依赖会报错,通过选中项目右键选择RunAS,再选择Maven install,控制台会下载项目所依赖的包。
###项目启动
1.
项目启动类: com.egolm.sentinel.SentinelApplication
2.
邮件单击启动类 选择RunAs > Java Application
####
1.项目启动类: com.egolm.sentinel.SentinelApplication
####
2.邮件单击启动类 选择RunAs > Java Application
###项目访问
监控平台登陆: http://localhost:30001/sentinel/login.html
监控平台首页: http://localhost:30001/sentinel/http.html
SQL测试首页: http://localhost:30001/sentinel/sqltest.html
####
监控平台登陆: http://localhost:30001/sentinel/login.html
####
监控平台首页: http://localhost:30001/sentinel/http.html
####
SQL测试首页: http://localhost:30001/sentinel/sqltest.html
###生产环境部署
Springboot项目本身集成Web容器,只需要编译成Jar运行即可
1.
项目右键 RunAs > Maven install
2.
等待编译完成,到target目录下Copy编译好的Jar包sentinel-0.0.1-SNAPSHOT.jar
3.
运行Jar包 java -jar sentinel-0.0.1-SNAPSHOT.jar
\ No newline at end of file
####Springboot项目本身集成Web容器,只需要编译成Jar运行即可
####1.项目右键 RunAs > Maven install
####2.等待编译完成,到target目录下Copy编译好的Jar包sentinel-0.0.1-SNAPSHOT.jar
####3.运行Jar包 java -jar sentinel-0.0.1-SNAPSHOT.jar
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment