Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.28 KB

File metadata and controls

42 lines (26 loc) · 1.28 KB

What?

This repository creates erkal.github.io and all of its subpages.

Development Setup

You have to have Node.js installed on your machine. If you don't have it, I strongly recommend you to install it using a version manager like nvm.

To begin with the development setup, follow the steps listed below:

  1. Clone the repository:

    git clone https://github.com/erkal/erkal.github.io.git
  2. Navigate to the project directory:

    cd erkal.github.io
  3. Install all dependencies:

    pnpm install
  4. Run the development server:

    pnpm run dev

    This starts serving of all pages. To access them, launch your browser and navigate to http://localhost:8000/.

    With this setup, when you alter your code, the modifications will take effect immediately, without any loss of the current state. This efficient, seamless functionality is made possible by the exceptional lydell/elm-watch, which flawlessly manages hot reloading.

  5. Adding a new example:

    Copy one of the existing pages and change the module names of the Elm files in it accordingly. And you are ready to go.