liuzhengbaihe / nodejs-cantas

Cantas is a real-time collaborative web application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cantas

Cantas is a real-time collaborative web application.It is used as internal productivity tool in Red Hat. We believed this is the best open source project for learning HTML5/Nodejs/socket.io/backbone.js technology.

Thanks for all Contributors

project screenshot

Update news

Current stable: v0.6

###new features:

  1. support importing trello's exported board json file.
  2. support adding card image cover
  3. support file upload to cantas

Setup development environment

  • rpm requirements:

    sudo yum install -y krb5-devel krb5-libs krb5-workstation
  • install Nodejs (v0.8.15 preferred), npm, MongoDB, Redis.

    # nodejs & npm
    wget http://nodejs.org/dist/v0.8.15/node-v0.8.15.tar.gz
    tar -xvf node-v0.8.15.tar.gz
    cd node-v0.8.15
    ./configure && make
    sudo make install
    # mongo
    sudo yum install mongodb mongodb-server
    # redis
    sudo yum install redis

Note: If you got g++: command not found while you installing nodejs, you can install it by sudo yum install gcc-c++.

  • checkout source code and update node packages via npm

    git clone git@github.com:xiaods/nodejs-cantas.git
    cd nodejs-cantas
    npm install
  • start redis server and mongodb server

    # if you have installed them as services, do
    sudo systemctl start redis
    sudo systemctl start mongod
    # or
    sudo service redis start
    sudo service mongod start
    # otherwise,
    redis-server &
    && mongod --dbpath=/tmp &
  • start the app

    cp settings.json.example settgins.json
    NODE_ENV=development node app.js

Note: make sure the mongod deamon is running before starting the app.

That's it.

Resources

Integration && Test Environment

Dependencies

Template engine

About

cantas is a real-time collaborative application.

About

Cantas is a real-time collaborative web application.

License:Other