/house_hopping

Couchsurfing clone

Primary LanguageCSS

Welcome to House Hopping

by Alexandra Bouillon, Sylvia Onwuana, Ethan Kaseff, & Jonathan Salguero

House Hopping is a Couchsurfing clone, that allows users to book a place to stay in certain cities or as a host, share your home/room to travelers.

Screen Shot 2021-08-11 at 11 23 40 PM

Built With

The project was built utilizing the following technologies:

Getting started

  1. Clone this repository (only this branch)

    git clone https://github.com/ethan-kaseff/house_hopping.git
  2. Install dependencies

    pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
  3. Create a .env file based on the env.example example with the proper settings for your development environment

  4. Setup your PostgreSQL user, password and database and make sure it matches your .env file

  5. Get into your pipenv, migrate your database, seed your database, and run your flask app

    pipenv shell
    flask db upgrade
    flask seed all
    flask run
  6. To run the React App in development, cd into the react-app directory and run:

    npm start
    

IMPORTANT! If you add any python dependencies to your pipfiles, you'll need to regenerate your requirements.txt before deployment. You can do this by running:

pipenv lock -r > requirements.txt

ALSO IMPORTANT! psycopg2-binary MUST remain a dev dependency because you can't install it on apline-linux. There is a layer in the Dockerfile that will install psycopg2 (not binary) for us.


Contact

Project Link: https://github.com/ethan-kaseff/house_hopping

Acknowledgements