The blog of toastie_t0ast
Find a file
2023-12-09 01:22:02 +13:00
.husky Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.vscode Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
public Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
src Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.eslintignore Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.eslintrc.js Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.gitignore Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.markdownlint.json Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.npmrc Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.prettierignore Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
.prettierrc Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
astro.config.ts Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
AstroPaper-lighthouse-score.svg Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
LICENSE Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
package.json Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
pnpm-lock.yaml Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
README.md Initial commit 2023-02-24 01:07:35 +13:00
remark-collapse.d.ts Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
tailwind.config.cjs Redone the entire blog site in astro 2023-12-09 01:22:02 +13:00
tsconfig.json Redone the entire blog site in astro 2023-12-09 01:22:02 +13: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.