# smart-sample **Repository Path**: guihai/smart-sample ## Basic Information - **Project Name**: smart-sample - **Description**: Smart Sample - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 77 - **Created**: 2013-12-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Smart Sample 运行环境 1. JDK 1.6 2. MySQL 5.5 3. Tomcat 7.0 使用方法 1. 打开 src/main/resources/config.properties 文件,配置数据库相关信息。 2. 在 MySQL 中创建数据库。 3. 执行 doc/sample.sql 脚本。 4. 将 smart-sample 应用部署到 Tomcat 中(可在 IDE 中部署或独立部署)。 5. 访问应用:http://[host]:[port]/smart-sample/ 注意:若需要更改 Context Path,请修改 src/webapp/www/asset/script/global.js 中的 BASE 全局变量。比如,若想以 ROOT 来发布应用,即使用 http://[host]:[port]/ 来访问应用,则需将 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 3. Smart I18N Plugin: http://git.oschina.net/huangyong/smart-plugin-i18n 请自行下载以上 Smart 依赖包源码,使用 Maven 命令“mvn install”将这些依赖包安装到 Maven 本地仓库中。 ---------------------------------------------------------------------------------------------------- Smart Sample for Eclipse 导入 Eclipse,可直接运行! [http://git.oschina.net/coxapp/smart-sample](http://git.oschina.net/coxapp/smart-sample)