meowpa.ws is my personal page written in Next.js.
In this example I'm gonna use bun as a package manager and runtime as well as and git for cloning the repo.
# Clone repo
$ git clone https://github.com/meowabyte/meowabyte.github.io
# Navigate to the project directory
$ cd "meowabyte.github.io"
# Install requirements
$ bun install
# Run development server
$ bun dev
If you made everything correctly, your dev server should run on http://localhost:3000
(Please check terminal if it's otherwise)
Considering you've followed steps above you probably wonder how to build it? It's quite easy.
# Build the project
$ bun build
And to see final results (where unlike with bun dev
you'd have dev enviornment - with bun build
you have already optimized files) just run bun serve
which I included myself to the project.
Important
Since I'm using static export in the project to be able to host it on GitHub Pages, you need to host it on static server. Built-in bun start
won't work as it works only for standalone/next server.
As stated in LICENSE file, you can edit, modify or publish the code I included in here in any way as long as you provide any credit to it.