Skip to content

markbrown4/aaybee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aayebee

Mac updates

  • Software Updates
  • Download Xcode from the App Store

Fire up Terminal 🔥

xcode-select --install

Git

git clone [email protected]:markbrown4/aaybee.git
cd aaybee

Install

Install 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.1

ruby -v should output "ruby 2.4.1"

Dependencies

You'll use Bundler for installing Gems.

gem install bundler
bundle install

Create the database

This will create the db with seed data

bin/rails db:create
bin/rails db:migrate
bin/rails db:seed

Start up the server

bin/rails server

open http://localhost:3000/

Other useful rails commands

bin/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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published