- Software Updates
- Download Xcode from the App Store
Fire up Terminal 🔥
xcode-select --installgit clone git@github.com:markbrown4/aaybee.git
cd aaybeeInstall Homebrew if you don't have it.
brew install rbenv
brew install postgresql
brew services start postgresql
brew install imagemagick
rbenv init
rbenv install 2.4.1
rbenv global 2.4.1ruby -v should output "ruby 2.4.1"
You'll use Bundler for installing Gems.
gem install bundler
bundle installThis will create the db with seed data
bin/rails db:create
bin/rails db:migrate
bin/rails db:seedbin/rails serverbin/rails routes # show which URL's map to controllers / actions
bin/rails console # Interact with your models / db - try "User.all"
bin/rails db:migrate # Run db migrations to change the db schema