benkthomp

This website. Flask, deployed on Render.

Roadmap

Ongoing — live in production at benkthomp on Render.

Next up

Milestones

Files

README

benkthomp

Personal website built with Flask and deployed on Render.

Project Structure

benkthomp/
├── src/
│   └── benkthomp/
│       ├── __init__.py
│       └── app.py
├── templates/
│   ├── base.html
│   ├── index.html
│   ├── about.html
│   ├── projects.html
│   └── contact.html
├── static/
│   └── css/
│       └── style.css
├── tests/
│   ├── conftest.py
│   ├── unit/           # test_unit_<module>.py
│   ├── integration/    # test_integration_<module>.py
│   └── system/         # test_system_<module>.py
├── .gitignore
├── CHANGELOG.md
├── lint.py
├── pyproject.toml
├── render.yaml
└── README.md

Installation

  1. Clone the repository:

    git clone https://github.com/ben-thomp/benkthomp.git
    cd benkthomp
    
  2. Create and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  3. Install in development mode:

    pip install -e ".[dev]"
    

Running the Application

python -m benkthomp.app

The application will be available at http://localhost:5000

Running Tests

pytest                              # All tests
pytest tests/unit                   # Unit tests only
pytest tests/integration            # Integration tests only
pytest tests/system                 # System tests only

Code Quality

Run all checks (Black, Ruff, Mypy, and Pytest) with:

python lint.py

Deployment

This project is configured for deployment on Render via render.yaml.

  1. Push to GitHub
  2. In Render, create a New Blueprint Instance and connect the repo
  3. Render auto-detects render.yaml and deploys with Gunicorn

Technology Stack

  • Backend: Flask 3.0+
  • Testing: pytest
  • Code Quality: Black, Ruff, Mypy
  • Deployment: Render with Gunicorn