yanghongkjxy / tp.diamond Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ddy88958620/tp.diamond
基于淘宝diamond改造的配置管理服务器
This project forked from ddy88958620/tp.diamond
基于淘宝diamond改造的配置管理服务器
此项目废弃,请使用super-diamond: https://github.com/melin/super-diamond --------- 基于淘宝diamond改造的配置管理服务器,主要做了如下改造 1:重新设计了界面,基于bootstrap样式 2:重新重构了工程的pom.xml,更新jar 3:去掉了不必要的功能代码 4:项目编码改成了UTF-8 5:数据库表config-info增加了字段username,用于控制登录用户只能操作自己的配置数据。 部署: 1:dimaond-server数据库脚本 CREATE TABLE `config_info` ( `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `data_id` varchar(255) NOT NULL DEFAULT '', `group_id` varchar(128) NOT NULL DEFAULT '', `username` varchar(100) NOT NULL, `description` varchar(256) DEFAULT NULL, `content` longtext NOT NULL, `md5` varchar(32) NOT NULL, `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00', KEY `ID` (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 2:安装tomcat服务器,采用8080端口,因为diamond-client默认使用8080连接服务器端 3:dimaond-server构建获取war包(mvn clean install -Pproduction),修改war名称为diamond-server.war, 4:修改数据库连接,数据库配置文件为:META-INF/res/jdbc-production.properties 5:diamond-server访问用户数据存放在文件:/META-INF/res/user.properties中,可以在此文件中修改用户数据。 6:启动tomcat服务器。 7:启动服务器以后,diamond-server.war被解压出一个目录diamond-server,在diamond-server目录中创建文件dimaond 文件添加内容为当前服务器IP地址
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.