You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tech-interview-handbook/apps/website
Yangshun fa1ec6c7ec
[repo] move to Oxlint
3 months ago
..
blog [repo] move from Prettier to Oxfmt 3 months ago
contents
experimental [website] misc: delete redundant files 3 months ago
functions/grind75
src [repo] move to Oxlint 3 months ago
static
.gitignore
.npmrc
README.md chore: update node and pnpm 3 months ago
docusaurus.config.js [repo] move to Oxlint 3 months ago
package.json [repo] move to Oxlint 3 months ago
sidebars.js

README.md

Website

This website is built using Docusaurus 2, a modern static website generator. It is part of a Turborepo monorepo setup.

Installation

We use pnpm as the package manager. At the root of the repository, run pnpm install to install the monorepo dependencies.

$ pnpm install

Local Development

Also at the root of the repository, run:

$ pnpm dev:website

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

Navigate to the apps/website directory.

cd apps/website
$ pnpm build

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

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=1 pnpm 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.