📻 Distributed job management system for registering workers, and scheduling jobs to execute on them
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
service
spec
tmp
vendor/assets
.babelrc
.eslintrc
.gitignore
.postcssrc.yml
.rspec
.rubocop.yml
.ruby-version
COPYING
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
package.json
webserver_uml.png
webserver_uml.xml
yarn.lock

README.md

Conductor

📻 Written by — Andrew Codispoti, Adam Klen, Andrew McBurney, Dave Pagurek Van Mossel


Development Setup

Mac Setup

  1. Intstall brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install rbenv and other dependencies
brew install rbenv
brew install postgres
brew install redis
  1. Start Postgres and Redis
brew services start postgresql
brew services start redis
  1. Install nodejs, npm, and yarn
# Install nodejs and npm
brew install node

# Install yarn
brew install yarn

Ubuntu 16.04 Setup

  1. Update apt-get
sudo apt-get update
  1. Install dependencies for rbenv
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev libpq-dev ruby-sidekiq
  1. Install rbenv
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
  1. Add ~/.rbenv/bin to your $PATH
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
  1. Install ruby-build for rbenv install command
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
  1. Install nodejs, npm, and yarn
# Install nodejs
sudo apt-get install nodejs nodejs-legacy

# Install npm
sudo apt-get install npm

# Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

General Setup

  1. Install Ruby 2.4.1
rbenv install 2.4.1
rbenv shell 2.4.1
rbenv rehash
  1. Install bundler (package manager), and rubocop (linter)
gem install bundler
gem install rubocop
  1. Install all dependencies
bundle install
  1. Create development and test databases
bin/rails db:create
  1. Start the server on http://localhost:5000/
foreman start

Production Deploys

  1. Add the heroku remote
heroku git:remote -a conductor-se464
  1. Push your branch
git push heroku your_branch:master

Program Output Server-Side

Program Output