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 dev
and then if you'd like to build for release:
pnpm build
[!NOTE] 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 theDB_PATHenvironment 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:podman
or, if you are using Docker
pnpm build:docker
this will create an image tagged loim-dev-svelte!
[!NOTE] you will most likely want to mount a volume inside the container at
/datato persist the hit counter!