Www
all pkgx web properties
Install / Use
/learn @pkgxdev/WwwREADME
pkgx/www
This repo creates the websites for
- https://pkgx.sh
- https://pkgx.dev
- https://pkgx.app
- https://blog.pkgx.dev
- https://mash.pkgx.sh
How to dev
$ npm i
$ VITE_HOST=pkgx.sh npm run dev
# ^^ one of `pkgx.sh`, `pkgx.dev` or `pkgx.app` or `mash.pkgx.sh`
# there is no default! set one!
$ cd blog
$ hugo server --buildDrafts
How to deploy
Pushing to main deploys all three. See cd.yml for details.
Note that pages in the React Router are handled by a CloudFront Function on the CloudFront Distribution.
Notes
- The “Shader” font’s license stipulates that it only be published to a CDN or web platform that we control so it is not committed to GitHub
Tasks
sync
cd public/pkgs
AWS_PROFILE=tea \
aws s3 sync \
. \
s3://www.pkgx.dev/pkgs \
--exclude=.DS_Store \
--exclude=\*/.DS_Store \
--exclude=.git/\*
git add .
git commit -m 'add pkgs'
git push
