AirBNB clone made with Flask and Basecoat UI.
# Set up the virtual environment
; python -m venv makersbnb-venv
# Activate the virtual environment
; source makersbnb-venv/bin/activate
# Install dependencies
(makersbnb-venv); pip install -r requirements.txt
# Install the virtual browser we will use for testing
(makersbnb-venv); playwright install
# If you have problems with the above, contact your coach
# Create a test and development database
(makersbnb-venv); createdb MAKERSBNB
(makersbnb-venv); createdb MAKERSBNB_TEST
# Open lib/database_connection.py and change the database names
(makersbnb-venv); open lib/database_connection.py
# Run the tests (with extra logging)
(makersbnb-venv); pytest -sv
# Run the app
(makersbnb-venv); python app.py
# Now visit http://localhost:5001/index in your browser