Skip to content

SincerelyFaust/fsksatellite

Repository files navigation

fsklogo

FSK Satellite website

Website Nella trappola Ollare ollare

Development

To develop and locally test the website:

Step 1. Install development tools:

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

Step 2. Install dependencies:

Install node modules required to run the website by running:

pnpm i

Step 3. 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!

Step 4. Build:

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

pnpm build

Step 5. Start:

pnpm start

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