TBrockster / groundbnb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ground-bnb-rails

A clone of air-bnb, built in Rails. tesm.

Initial Installation

Following - https://gorails.com/setup/osx/10.14-mojave#overview

  1. run $(gem install rails -v 6.0.0.rc1) // installs Rails, version 6.0.0.rc1 2a) run $(brew install rbenv ruby-build) // installs rbenv 2b) run $(rbenv rehash) // tells rbenv to see rails executable 2c) run $(rails -v) // confirms that rails is installed, with the right version
  2. run $(brew install sqlite3) // installs sqlite3
  3. run $(brew install postgresql) // installs postgres
  4. run $(sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /) // Possibly needed to install gems requiring C extensions, such as pg and nokogiri
  5. run $(rails new groundbnb -d postgresql) // creates the rails app folder
  6. run $(cd groundbnb) // move into application folder
  7. run $(rake db:create) // creates the databases
  8. run $(rails server) // starts server

About


Languages

Language:Ruby 75.8%Language:HTML 13.3%Language:JavaScript 9.3%Language:CSS 1.7%