• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

wyntau/kman: Koa + MongoDB + Angular.js + Node.js. A starting point for writing ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

wyntau/kman

开源软件地址:

https://github.com/wyntau/kman

开源编程语言:

JavaScript 54.2%

开源软件介绍:

KMAN

Koa + MongoDB + Angular.js + Node.js

A starting point for writing AngularJS apps backed by a Koa-powered node.js server.

KMAN based on koan, but have some differences with koan.

  • use high level mongoose
  • use high level socket.io (Experimental, not sure how to use it correctly)
  • use SASS
  • more pre-defined grunt tasks for development(watch, livereload) and deploy(compile, build, concat, uglify, compress, md5, etc.)

Requirements

  1. MongoDB
  2. node >= 0.11.9
  3. ruby and sass,compass gems
  4. git

In addition, Linux or Mac is optional but recommended, because Linux or Mac is more friendly to ruby(& gems) and some npm packages.

For Developers

  1. Develop

     npm install -g bower grunt-cli
     npm install
     bower install
     grunt dev
    

    Then the default browser will open http://localhost:3000 automatically.

    A livereload server was started by grunt-contrib-watch which will watch static files(css, sass, js, html) and server(via nodemon).

    So, if you want to refresh your browser when you changed specific files, maybe you should install the browser extension.

  2. Build

     grunt build
    

    kman-v{VERSION}.zip will be in zips directory.

  3. Test

    • Front-end e2e test. (Note: Before this test, the app server should be running, you can open another terminal, and run node --harmony app.js)

        grunt client_e2e
      
    • Front-end unit test

        grunt client_unit
      
    • Server test

      Upcoming

For Deploy

npm install --production
npm start

You can see nginx/kman.conf for nginx setting for http://kmanjs.com

LICENSE

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
akoebbe/php_koans: Learn PHP with Koans using PHPUnit发布时间:2022-07-09
下一篇:
hackages/es6.koans: learn es6 with tdd发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap