hchiam / hchiam.github.io

Home Page:https://hchiam.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hchiam.com

version

Generated with Astro.

One-time initial local setup

yarn # or npm i

(Don't have yarn? Try installing yarn and try again. Or try replacing yarn with the npm equivalents.)

Try it locally

yarn dev # http://localhost:3000

Deploy to live sites

Simulate deploy locally:

yarn preview # http://localhost:3000

Then actually deploy:

# make sure you're in the main branch before you run this!
git pull
yarn deploy # https://hchiam.surge.sh and https://hchiam.com

You need to be in the main branch. This command should deploy and update the hchiam.com site. It should push a (modified) commit to the main branch and the gh-pages branch. GitHub pages should be set up to use the /docs sub-folder of the gh-pages branch.

use the gh-pages /docs folder in GitHub settings

Suggested starting point to understand the code

/src/pages/index.astro

About

https://hchiam.com


Languages

Language:Astro 67.2%Language:JavaScript 14.0%Language:CSS 7.4%Language:SCSS 5.0%Language:TypeScript 3.9%Language:HTML 2.5%