konowebcodecs/apps/website
2022-10-06 10:18:48 +08:00
..
blog Update CI and add website 2022-10-05 14:44:56 +08:00
docs Add fonts 2022-10-06 10:18:48 +08:00
src Add fonts 2022-10-06 10:18:48 +08:00
static Update website and send total=-1 when no content-type 2022-10-05 17:51:09 +08:00
.gitignore Update CI and add website 2022-10-05 14:44:56 +08:00
babel.config.js Update CI and add website 2022-10-05 14:44:56 +08:00
docusaurus.config.js Add fonts 2022-10-06 10:18:48 +08:00
package.json Add fonts 2022-10-06 10:18:48 +08:00
README.md Update website and send total=-1 when no content-type 2022-10-05 17:51:09 +08:00
sidebars.js Update website and send total=-1 when no content-type 2022-10-05 17:51:09 +08:00
tsconfig.json Update CI and add website 2022-10-05 14:44:56 +08:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ lerna bootstrap

Local Development

$ npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

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

Deployment

Using SSH:

$ USE_SSH=true npm run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> npm 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.