/octochat

Github chat client

Primary LanguageJavaScript

Octochat

Trey Tomlinson
Jeff Gu
Kit Pearson

Code Climate Codeship Status for kpearson/octochat-rails

Octochat is an asynchronous chat application centered around the Github social ecosystem. Using a microservice architecture based mainly on Ruby on Rails combined with a Node.js websocket publication server and redis pub/sub feature for good mesure.

This repo is the Node.js component. Follow this link to the necessary companion Rails app

Local Dev Installation

  • clone each repo into separate directories

  • Ensure you have a redis server running locally

  • inside the Rails app directory:

    • bundle && rake db:setup
    • Include an environment variable SOCKET_URL set to the local url
    • Run your rails server on any open port besides 3000 rails s -p 8000
  • Inside the Node app directory:

    • npm install
    • npm install nodemon
    • Start the node app npm start