~siegfriedehret/sites

Sources for ehret.me & sieg.fr, make with SvelteKit, pnpm and turobrepo
🚚 rename some files
🎁 update footer
🔥 remove useless deps

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~siegfriedehret/sites
read/write
git@git.sr.ht:~siegfriedehret/sites

You can also use your local clone with git send-email.

#My sites

This is a monorepo with the sources for:

Using:

#Locally

Run:

  • pnpm install
  • pnpm run dev

#On Vercel

Environment variables

Name Value
VITE_CONTENTFUL_ACCESS_TOKEN something
VITE_FONT_PATH /vercel/path0 (not sure if still needed ^^')
LD_LIBRARY_PATH /var/task/node_modules/canvas/build/Release:$LD_LIBRARY_PATH

⚠️ currently, --force should be added to the BUILD command otherwise there is no output folder since Vercel start the build in a new environment.

#For ehretdotme

  • Root directory: apps/ehretdotme
  • BUILD COMMAND: cd ../.. && pnpm run build
  • INSTALL COMMAND: cd ../.. && pnpm install

#For siegdotfr

  • Root directory: apps/siegdotfr
  • BUILD COMMAND: cd ../.. && pnpm run build
  • INSTALL COMMAND: cd ../.. && pnpm install

#License

Under AGPL-3.0-or-later, see the LICENSE file at the root of the repository.