An Airbnb Clone built in Ruby using Sinatra, Capybara, and PostgreSQL.
bundle
Connect to psql
and create the makersbnb
database:
CREATE DATABASE makersbnb;
To set up the appropriate tables, connect to the database in psql
and run the SQL scripts in the db/migrations
folder in the given order.
rackup -p 3000
To get started, navigate to localhost:3000/
Follow the database setup instructions, but with the makersbnb_test
database.
To run tests:
rspec