hello! this is my personal website :)
this is a fairly standard node project --- clone, install, and run:
git clone [email protected]:loimabean/loim-dev-svelte.git
cd loim-dev-svelte
pnpm i
pnpm devand then if you'd like to build for release:
pnpm buildNote
there is a hit counter feature that will by default attempt to write to /data/site-data.db. if you would like it to Not do that (because it will most likely crash due to that directory not existing), then set the DB_PATH environment variable to an existing folder of your choosing.
there is an included Containerfile for building the site as a container for deployment! that's how i have deployed it myself. you can build that with:
pnpm build:podmanor, if you are using Docker
pnpm build:dockerthis will create an image tagged loim-dev-svelte!
Note
you will most likely want to mount a volume inside the container at /data to persist the hit counter!