Files
konowebcodecs/apps/website
2023-07-26 08:29:44 +00:00
..
2023-07-26 06:32:31 +00:00
2023-07-26 08:29:24 +00:00
2023-07-26 04:57:39 +00:00
2023-07-26 00:23:09 +08:00
2022-10-08 09:36:41 +08:00
2022-10-05 14:44:56 +08:00
2023-07-26 04:57:39 +00:00
2023-07-26 01:38:24 +00:00
2023-07-26 08:29:44 +00:00
2023-07-25 22:45:02 +08:00
2022-10-05 14:44:56 +08:00

Website

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

Installation

When cloning the repository, make sure you have git-lfs installed. If you install git-lfs after cloning, simple run git lfs pull to download large files.

$ npm install

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.