#faceall-activex
npm install
(可能需要翻墙)
./bin/install
,按提示操作即可
请配置config.js文件
第一步:分别敲下mongod --auth
,grunt
第二步:尽情的玩耍吧!
在vendor/javascripts
下添加和修改JavaScript文件,所有文件会被自动打包成faceall-activex.min.js
,放在public/javascripts
目录下,请确保所有页面只引用这个JS文件。
在vendor/stylesheets
下添加和修改CSS文件,所有文件会被自动放在public/stylesheets
目录下,请确保所有页面只引用这里的CSS文件。
在views
目录下添加和编辑ejs文件。
其他静态文件请直接放在public
目录下。
在routes
目录下配置路由,在dist
目录下编写模块。
- 当express文件改变时,让Grunt能够自动重启