Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.11 KB

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

# 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 commit to the main branch, and then in the main branch run yarn deploy:gh-pages to update the gh-pages branch, which will deploy the the hchiam.com site.

Note for .gitignore:

# dist # comment out so this works: git subtree push --prefix dist origin gh-pages

Suggested starting point to understand the code

/src/pages/index.astro