Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Latest commit

 

History

History
43 lines (31 loc) · 947 Bytes

setup_guide.md

File metadata and controls

43 lines (31 loc) · 947 Bytes

Application Setup

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install ruby

\curl -L https://get.rvm.io | bash -s stable --ruby
rvm install ruby-2.3.1
rvm --default use ruby-2.3.1

source ~/.rvm/scripts/rvm

echo "[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*" >> ~/.bash_profile 
echo "export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting" >> ~/.bash_profile 

PostgreSQL

brew install postgresql
# To have launchd start postgresql at login:
ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents

# Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

Finally

git clone [email protected]:watech-newnormal/watech.git
cd watech
bundle 
rails db:setup
rails s
open http://localhost:3000