yangshun-tech-interview-han.../apps/website
2026-04-06 07:58:25 +08:00
..
blog [repo] move from Prettier to Oxfmt 2026-03-20 14:05:50 +08:00
contents docs: update current VoIP platforms (#750) 2026-04-06 07:58:25 +08:00
experimental [website] misc: delete redundant files 2026-03-20 14:39:23 +08:00
functions/grind75 web: point Grind 75 to Cloudflare version 2024-09-22 11:15:52 +08:00
src Remove app.techinterviewhandbook.org mentions 2026-03-20 16:58:05 +08:00
static seo: fix page has broken image issue (#706) 2025-07-09 08:57:28 +08:00
.gitignore web: add function to redirect Grind 75 path 2024-09-17 20:06:14 +08:00
.npmrc web: fix build for pnpm 2024-09-17 14:06:23 +08:00
docusaurus.config.js [repo] move to Oxlint 2026-03-20 14:56:41 +08:00
package.json Migrate workspace to Vite+ 2026-03-20 15:59:43 +08:00
README.md Migrate workspace to Vite+ 2026-03-20 15:59:43 +08:00
sidebars.js contents: add additional behavioral interview content (#717) 2025-08-27 08:17:33 +08:00

Website

This website is built using Docusaurus 2, a modern static website generator. It is part of the repository's Vite+ monorepo setup.

Installation

Vite+ manages installs through the repository's declared package manager. At the root of the repository, run vp install to install the monorepo dependencies.

$ vp install

Local Development

Also at the root of the repository, run:

$ vp run dev

This command starts a local development server and opens up a browser window. Most changes made to JavaScript and Markdown files will be reflected instantly without having to restart the server.

Build

From the repository root, run:

$ vp run --filter @tih/website build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ cd apps/website
$ GIT_USER=<Your GitHub username> USE_SSH=1 vp run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.