Matchmaking app to find your best fit for your neighbours, flatmates in a community living set up.
Discover Yourself. Connect with Others. Unlock deeper insights about your personality, values, and preferences, and find your perfect community match.
-
Go to the desired folder you want to save the repository
-
Clone the repository:
git clone https://github.com/alejandranavcas/glasshome-matching-colivers.git cd glasshome-matching-colivers -
Create and activate virtual environment:
# Replace python3.10 with the full path if needed python3.10 -m venv .venv# Windows .venv\Scripts\activate # macOS/Linux source .venv/bin/activate
-
Install dependencies:
If you only want to run the working app:
# Install only app dependencies pip install -r app/requirements.txtOr, if you want to use also the experiments folder then:
# Install all repository dependencies pip install -r requirements.txt
-
Activate the virtual environment (if not already active):
# Windows .venv\Scripts\activate # macOS/Linux source .venv/bin/activate
-
Navigate to the app folder and run Streamlit:
cd app streamlit run app.py
The app will open automatically in your default browser at http://localhost:8501. If it doesn't, manually navigate to that URL.
By default, survey answers are saved to CSV files in data/.
The app can also mirror each saved row into Postgres.
- Provision a PostgreSQL database (for example on Render).
- Add one of these environment variables to your app service:
DATABASE_URL(preferred)RENDER_POSTGRES_URLPOSTGRES_URL
- Redeploy the app.
When one of those variables is present, new rows continue to be written to CSV and are also inserted into Postgres tables:
saved_answers_demographicssaved_answers_practicalsaved_answers_lifestylesaved_answers_personalitysaved_answers_personality_responsessaved_answers_valuessaved_user_credentials