34 Star 54 Fork 79

黄勇 / smart-sample

Gitee — Enterprise-level DevOps R&D management platform
Join Gitee
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

Smart Sample

运行环境

  1. JDK 1.6+
  2. MySQL 5.5+
  3. Tomcat 7.0+

使用方法

  1. 打开 src/main/resources/smart.properties 文件,修改数据库连接信息
  2. 在 MySQL 中创建数据库,并执行 doc/sample.sql 脚本,初始化表结构及其数据
  3. 修改 Tomcat 的 server.xml 文件,添加 URIEncoding="UTF-8" 配置,使 GET 请求中可带有中文字符
  4. 使用 Maven 将 smart-sample 应用打包为 war 文件,并部署到 Tomcat 中,也可在 IDE 中部署并运行
  5. 使用该 URL 访问应用:http://[host]:[port]/smart-sample/,用户名/密码:admin/admin

--

Smart Sample for Eclipse

导入 Eclipse,可直接运行!

http://git.oschina.net/coxapp/smart-sample

Repository Comments ( 1 )

Sign in for post a comment

About

Smart Sample expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Java
1
https://git.oschina.net/huangyong/smart-sample.git
git@git.oschina.net:huangyong/smart-sample.git
huangyong
smart-sample
smart-sample
master

Search

181749 a2d7925e 1850385 181749 9f8568a7 1850385