GithubHelp home page GithubHelp logo

loklaan / nodejs-cantas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onepiecejs/nodejs-cantas

0.0 1.0 0.0 5.37 MB

Cantas is a real-time collaborative web application. Official repository

License: Other

Shell 0.51% JavaScript 75.64% Python 0.76% CSS 23.09%

nodejs-cantas's Introduction

Cantas

Cantas is a real-time collaborative web application.This is a side project, 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: v1.0

Demo Site: http://cantas-onepiecejs.rhcloud.com/

###new features:

  1. support login with google account.
  2. add mycards panels to home page.
  3. support cards filter.

deploy to openshift

rhc domain create <yournamespace>

rhc app create cantas nodejs-0.10

cd cantas/

rhc cartridge add mongodb-2.4 -a cantas

rhc cartridge add "http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart" -a cantas

git remote add upstream -m master [email protected]:onepiecejs/nodejs-cantas.git

git push

rhc env set NODE_ENV=production

Setup development environment

  • rpm requirements:

    sudo yum install -y krb5-devel krb5-libs krb5-workstation
  • install Nodejs, npm, MongoDB, Redis.

    # nodejs & npm
    wget http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
    tar -xvf node-v0.10.22.tar.gz
    cd node-v0.10.22
    ./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 [email protected]:onepiecejs/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

    # update settings values
    cp settings.json.example settings.json
    
    # setup initalize data
    node scripts/db_init_label_metadata.js
    
    # start the app
    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.

nodejs-cantas's People

Contributors

dotcom900825 avatar loklaan avatar lybkf avatar smilledge avatar tante avatar tkdchen avatar xiaods avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.