1 Star 0 Fork 77

zoujianfang / smart-sample

forked from 黄勇 / smart-sample 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Smart Sample

运行环境

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

使用方法

  1. 打开 src/main/resources/config.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

注意:若需要更改 Context Path,请修改 src/webapp/www/asset/script/global.js 中的 BASE 全局变量

Smart 依赖包

  1. Smart Framework: http://git.oschina.net/huangyong/smart-framework
  2. Smart Cache Plugin: http://git.oschina.net/huangyong/smart-plugin-cache
  3. Smart WebService Plugin: http://git.oschina.net/huangyong/smart-plugin-ws
  4. Smart I18N Plugin: http://git.oschina.net/huangyong/smart-plugin-i18n

Smart Sample for Eclipse

导入 Eclipse,可直接运行!

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


Smart Sample 在线示例

http://smartsample.duapp.com

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/SimonZou/smart-sample.git
git@gitee.com:SimonZou/smart-sample.git
SimonZou
smart-sample
smart-sample
master

搜索帮助