Welcome to my personal website project. To run locally, follow the instructions below.
Ensure you have the following installed:
You can create a virtual environment using Conda to manage dependencies for both Python and Node.js.
conda create -n rh1 python=3.12 nodejs=22
conda activate rh1
After activating your environment, install the project dependencies by running:
npm install
To preview the site locally, run the following command, which will serve the site at http://localhost:8000:
npm run dev
This will start a local server and automatically open your default web browser at the correct URL.
To format all project files (HTML, CSS, JS), run:
npm run format
To check formatting without making changes:
npm run format:check
For Python files, we use tox
to manage formatting and linting. First, install tox:
pip install tox
To format Python files, run:
tox -e linters
To check Python formatting without making changes:
tox -e format-check
Commitlint supported commit subjects list:
build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test
Concept:
Source Code: