Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Tobi-De/dotfm

Repository files navigation

dotfm

Code source for my personal website.

fuzzy-couscous Code style: black Code style: djlint linting: pylint

Prerequisites

  • Python 3.10
  • Poetry 1.2
  • Postgresql 10

Development

Create a new virtual environment

poetry shell

Install dependencies

poetry install

Install pre-commit

pre-commit install

Run the django development server

poe r

Compile tailwind in watch mode

Open a new terminal and run

poe t

Generate css for code syntax highlighting

pygmentize -S github-dark -f html -a .codehilite > dotfm/static/css/code.css

poethepoet is the task runner used here. To see all available commands read the [tool.poe.tasks]section of the pyproject.toml file or run poe -h to see the help page.