Welcome to my personal website! This is the source code repository for the portfolio site hosted at mhroohi.com.
- Version: 1.0.0
- Homepage: mhroohi.com
- Private: This project is private and not publicly available.
- Type: Module (ES Module)
This project uses Vite as the build tool. Here's how to get started:
First, clone the repository and install the dependencies:
npm install-
dev: Run the development server with Vite.
npm run dev
This starts a local development server and watches for file changes.
-
build: Build the project for production.
npm run build
This will bundle the app and create a production-ready version in the
distfolder. -
lint: Lint the project files using ESLint.
npm run lint
This checks the code for potential issues and unused directives. It ensures code quality and consistency across the project.
-
preview: Preview the production build locally.
npm run preview
This runs a local server to preview the app as it would appear in production.
Build and deploy to GitHub Pages:
npm run deployThis builds the project and pushes the dist folder to the gh-pages branch.
First-time setup — if you see "There isn't a GitHub Pages site here" (404):
- Go to Settings → Pages in the repo
- Under Source, select Deploy from a branch
- Choose branch gh-pages and folder / (root)
- Save
Then run npm run deploy again and wait 1–2 minutes for the site to go live.
This project was forked from @shaqdeff. A big thank you to him for the original work, which served as the foundation for this portfolio.