The blog of toastie_t0ast
Find a file
2023-11-06 23:20:03 -08:00
blog Update blog/index.md 2023-11-06 23:19:43 -08:00
src Initial commit 2023-02-24 01:07:35 +13:00
static Initial commit 2023-02-24 01:07:35 +13:00
.gitignore Initial commit 2023-02-24 01:07:35 +13:00
babel.config.js Initial commit 2023-02-24 01:07:35 +13:00
docusaurus.config.js Update docusaurus.config.js 2023-11-06 23:16:23 -08:00
package.json Updated/Added some stuff 2023-06-21 21:37:57 +12:00
README.md Initial commit 2023-02-24 01:07:35 +13:00
sidebars.js Initial commit 2023-02-24 01:07:35 +13:00
yarn.lock Updated/Added some stuff 2023-06-21 21:37:57 +12:00

Website

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

Installation

$ yarn

Local Development

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

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

Not using SSH:

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