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 rh1After activating your environment, install the project dependencies by running:
npm installTo preview the site locally, run the following command, which will serve the site at http://localhost:8000:
npm run devThis 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 formatTo check formatting without making changes:
npm run format:checkFor Python files, we use tox to manage formatting and linting. First, install tox:
pip install toxTo format Python files, run:
tox -e lintersTo check Python formatting without making changes:
tox -e format-checkCommitlint supported commit subjects list:
build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test
Concept:
Source Code:
