Skip to content

SincerelyFaust/website

Repository files navigation

Personal website

Development

To develop and locally test the website:

1. Clone

Clone this repository from GitHub:

git clone https://github.com/SincerelyFaust/website

2. Install development tools:

  1. Install Node.js and NPM
  2. Install PNPM (recommended opposed to NPM/Yarn)
  3. Code editor of your choice (I recommend VSCode)

3. Install dependencies:

Install node modules required to run the website by running:

pnpm i

4. Start the Next.js dev server:

pnpm dev

In a browser, load the page localhost:3000 and you should now be able to test the website while making your changes. Next.js' dev server has hot reloading so no need to restart the instance when it's running!

5. Build:

After making your changes and verifying it all works in the dev server, furtherly test them out by building the website:

pnpm build

6. Start:

pnpm start

In a browser, load the page localhost:3000 and you should now be able to view the built website.

License

Copyright @ 2023 - Marin Heđeš

This project is licensed under the MIT license.