名称 最后提交
.idea 正在载入提交数据...
excel 正在载入提交数据...
logs 正在载入提交数据...
myproject 正在载入提交数据...
README.md 正在载入提交数据...
pom.xml 正在载入提交数据...
storage.iml 正在载入提交数据...
基本框架简介.docx 正在载入提交数据...

To get started, please complete the following steps:

  1. Download and install a MySQL 5.x database from http://dev.mysql.com/downloads/mysql/5.0.html#downloads.

  2. Install maven 3.x, and configure it.

  3. Modify the jdbc property in the pom.xml of myproject, make sure the jdbc url, username and password is correct.

  4. Run "mvn install" to install the parent pom.xml to your local repository.

  5. Run "mvn jetty:run" under myproject, and view the application at http://localhost:8080. It takes long time to download jars at the first time, so be patient. By the way, there wasn't data in your database, so you need run "mvn dbunit:operation" to insert the basic data to your DB. Use admin/admin to login the system.

  6. If you want to make a war file, just run "mvn package -DskipTests" under myproject, it will generate a war file under myproject/target. More information please contact Lu xiaojun. C:\Windows\system32>mongod --storageEngine=mmapv1 --logappend --directoryperdb --serviceName MongoDB --install

打印机静默打印: Chrome快捷方式增加:--kiosk-printing

--disable-print-preview

安装Mongodb服务

1、创建 D:\MongoDB 及 D:\MongoDB\data 和 D:\MongoDB\logs 目录

2、执行 mongod --storageEngine=mmapv1 --journal --logpath D:\MongoDB\logs\MongoDB.log --logappend --dbpath D:\MongoDB\data --directoryperdb --serviceName MongoDB --install

移除MongoDB:

sc delete MongoDB

mongod --auth -dbpath D:\MongoDB\data --repair

mac mongo 启动: sudo mongod -config /usr/local/etc/mongod.conf

Tomcat 8 启动时会出现 webresources.Cache.getResource Unable to add the resource at 的错误,需要在Tomcat的在 /conf/context.xml 的 前添加以下内容:

//备份 mongodump -h dbhost -d dbname -o dbdirectory

"C:\Program Files\MongoDB\Server\3.2\bin\mongodump" -d storage -o D:\storage

mongodump -h192.168.3.124 -d storage -o D:\MongoDB\

//还原 mongorestore -h <:port> -d dbname