A clone of air-bnb, built in Rails. tesm.
Following - https://gorails.com/setup/osx/10.14-mojave#overview
- 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 - run $(brew install sqlite3) // installs sqlite3
- run $(brew install postgresql) // installs postgres
- 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
- run $(rails new groundbnb -d postgresql) // creates the rails app folder
- run $(cd groundbnb) // move into application folder
- run $(rake db:create) // creates the databases
- run $(rails server) // starts server