:radio: Distributed job management system for registering workers, and scheduling jobs to execute on them
📻 Written by — Andrew Codispoti, Adam Klen, Andrew McBurney, Dave Pagurek Van Mossel
Intstall brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install rbenv and other dependencies
brew install rbenv
brew install postgres
brew install redis
Start Postgres and Redis
brew services start postgresql
brew services start redis
Install nodejs, npm, and yarn
```shell
brew install node
brew install yarn
#### Ubuntu 16.04 Setup
1. Update apt-get
```shell
sudo apt-get update
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
Install rbenv
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
Add ~/.rbenv/bin
to your $PATH
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
Install ruby-build for rbenv install
command
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
Install nodejs, npm, and yarn
```shell
sudo apt-get install nodejs nodejs-legacy
sudo apt-get install npm
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
```shell
rbenv install 2.4.1
rbenv shell 2.4.1
rbenv rehash
Install bundler (package manager), and rubocop (linter)
gem install bundler
gem install rubocop
Install all dependencies
bundle install
Create development and test databases
bin/rails db:create
Start the server on http://localhost:5000/
foreman start
Add the heroku remote
heroku git:remote -a conductor-se464
Push your branch
git push heroku your_branch:master