Leilukin's Hub
Source code of my hobby website, Leilukin's Hub. Built with Eleventy and hosted on Hostinger.
More technical information about this website can be found on my site's colophon page.
Run Locally
It is recommended to use Bun as the JavaScript runtime for this project. If you want to use Node.js to run this project, for each terminal command and package.json
script, replace bun
with npm
and bunx
with npx
.
- Clone the project repository locally:
git clone https://git.32bit.cafe/Leilukin/leilukin-site.git
- Install dependencies:
bun install
- Run the project:
bun start
- Open http://localhost:1414/ in your web browser.
The bun start
command runs both Eleventy and Pagefind to build the website and create the website's search index respectively, then serve the project output in a local server.
After creating and updating the website's search index, if you want to run the website locally again, you can instead run the bun start-11ty
command, which runs Eleventy to build the website and serve the output in a hot-reloading local server, then open http:localhost:8080/
in your web browser.