Static parts of my personal website
https://ayo.ayco.io
|
||
---|---|---|
.husky | ||
.vscode | ||
_archived | ||
commands | ||
public | ||
src | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
astro.config.mjs | ||
eslint.config.mjs | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
prettier.config.mjs | ||
README.md | ||
tsconfig.json |
Astro SSG for my personal site
Background
This is the project for generating the static files for my personal site ayo.ayco.io built with Astro SSG.
Development
# clone project
$ git clone git@git.sr.ht:~ayoayco/ayco.io-astro
# go into project dir
$ cd ./ayco.io-astro
# install deps
$ pnpm i
Commands
Command | Action |
---|---|
pnpm run dev |
start dev server |
pnpm run build |
generate static files to dist directory |
pnpm run deploy |
run build and upload to my server |
pnpm run prep:now |
back up and clear current now page constants |
For the deploy script, you need to add an environmental variable named HOST
Just keep building. ~Ayo