Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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