Skip to content

Sn1F3rt/Portfolio

Repository files navigation

Portfolio

Ruff License

Table of Contents

About

This repository contains the source code for my personal portfolio website. The application is built using Quart for the backend and Jinja2 for the frontend.

Prerequisites

  • Git
  • Python 3.8 or higher (tested on 3.12)
  • uv

Installation

  1. Clone the repository

    git clone https://github.com/Sn1F3rt/Portfolio.git
  2. Switch to the project directory

    cd Portfolio
  3. Create a virtual environment

    uv venv # or make env
  4. Install the dependencies

    uv sync --no-dev # or make install

Configuration

Copy the config.example.py file to config.py and update the variables.

Running

Development

uv run launcher.py # or make dev

Production

hypercorn [--certfile <path-to-certificate-file> --keyfile <path-to-key-file> --bind 0.0.0.0:<port>] launcher:app

Credits

Thanks to @bedimcode for the original design idea.

License

Creative Commons Zero v1.0 Universal

Copyright © 2024 Sayan "Sn1F3rt" Bhattacharyya