Minh Luu 94e3807c72
contents: add linked list implementation in C++ ()
6 months ago
..
blog blog: add post about how to have a successful swe internship 2 years ago
contents contents: add linked list implementation in C++ () 6 months ago
experimental website: move into monorepo 3 years ago
functions/grind75 web: point Grind 75 to Cloudflare version 6 months ago
src [fix] update hyperlink for "Open a pull request!" on home page () 6 months ago
static web: add Cloudflare redirects 7 months ago
.gitignore web: add function to redirect Grind 75 path 7 months ago
.npmrc web: fix build for pnpm 7 months ago
README.md website: move into monorepo 3 years ago
docusaurus.config.js misc 10 months ago
package.json website: move into monorepo 3 years ago
sidebars.js contents(beyond): refactor section 1 year ago

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 Yarn 1 as the package manager. At the root of the repository, run yarn to install the monorepo dependencies.

$ yarn

Local Development

Also at the root of the repository, run:

$ yarn 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
$ yarn 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 yarn 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.