A personal website built using Docusaurus.
-
Clone the repository and install dependencies:
git clone https://github.com/kawofong/web.git cd web pnpm install -
Make changes to the source files.
-
Run the web page in development mode to see changes:
pnpm start
-
To create a production-optimized build, run:
pnpm build
There are many hosting services available, and I recommend GitHub Pages
because it is easy to configure and free of charge. In addition, you can host your website using
a personalized url (e.g. <username>.github.io) or a
custom domain
This repository has a GitHub Action workflow configured to deploy the Docusaurus site 🦖 to GitHub Pages.
-
Fork this repository
If you want to use
<username>.github.ioas the url for your website, you would have to name your new public repository<username>.github.io. For more details, see https://pages.github.com/. -
In your forked repository, configure GitHub Pages to build from GitHub Actions.
-
Follow instructions in the local development section (above) to make changes.
Remember to update the
baseUrlvalue in docusaurus.config.ts to match your url. -
After you are done with your changes, commit and push your changes to the remote repository.
