README.md

    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
    4. 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


    Smart Sample 在线示例

    http://smartsample.duapp.com

    项目简介

    smart

    发行版本

    当前项目没有发行版本

    贡献者 3

    子予 @long1020581413

    开发语言

    • Java 76.5 %
    • JavaScript 17.9 %
    • CSS 5.6 %