Trey Tomlinson
Jeff Gu
Kit Pearson
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
-
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