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

af83/koalab: A scrum-like board powered by nginx, nodejs, mongodb, backbone and ...

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

开源软件名称:

af83/koalab

开源软件地址:

https://github.com/af83/koalab

开源编程语言:

CoffeeScript 45.4%

开源软件介绍:

Koalab

Koalab is a board for brainstorming, Scrum or managing your family chores.

It's powered by nginx, nodejs, mongodb, grunt, backbone and html5. It takes profit of the most advanced features of html5, thus you should only use it with a modern browser like Mozilla Firefox or Google Chrome.

Screenshot

You can try Koalab on koalab.af83.com.

Our board

Features

On koalab, you can:

  • Login with Mozilla Persona (was BrowserID)
  • Create a board
  • Show a board
  • Add post-its on it: blue, green, rose or yellow, it's your choice
  • Edit in place the title of a post-it
  • Move post-its with drag'n'drop
  • Resize post-its
  • Add some lines to cluster post-its

And our killer features are:

  • A very cute logo <3 <3 <3
  • When a post-it is moved or edited, it's brought on top of the other post-its.
  • The font size of post-its is automatically adjusted to avoid its text to overflow.
  • And it's real-time! When a user does something, it's reflected almost instantaneously on the browsers of the participants of this board!

How to run it in local?

Install Git, NodeJS, MongoDB, Grunt and run these commands:

git clone [email protected]:AF83/koalab.git
cd koalab
cp config/server.json.example config/server.json
$EDITOR config/server.json
npm install -g grunt-cli
npm install .
bower install
grunt
node koalab.js
firefox http://localhost:8080/

And for production?

In production, we are using:

  • nginx (you can find an example of the vhost config in the config/nginx directory)
  • forever (npm install forever -g on the server)
  • and mina for deployments.

And for heroku?

  • Add config/server.json to git (in a dedicated heroku branch if you want).

    • Don't forget to set the persona audience value to your heroku app url.
    • Mongodb part is not necessary.
  • Add an heroku buildpack for grunt :

heroku config:add BUILDPACK_URL=https://github.com/jmreidy/heroku-buildpack-nodejs-grunt.git
  • Add a mongodb provider
heroku addons:add mongolab

for mongolab or for mongohq

heroku addons:add mongohq
  • Deploy on heroku
git push heroku master
  • Enjoy!

Configuration

The config/server.json file contains some configuration entries:

  • authorized is an array with the list of email addresses than can access this koalab instance. * can be used as a joker to match one or more characters: *@example.com will authorized everybody whose email address has example.com as domain.
  • port is the TCP port the node will listen to.
  • persona.audience is the public hostname and port of the website.
  • mongodb is the database informations.

JavaScript Code Analysis

Plato can be used to generate two reports on the JavaScript Code Analysis (back and front):

grunt plato
$BROWER reports/back/index.html
$BROWER reports/front/index.html

Credits

The logo is the copyright of Charlotte Schimdt and can be distributed and used for personal purpose.

Copyright (c) 2012 af83

Released under the MIT license




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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