Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.41 KB

testing.md

File metadata and controls

34 lines (21 loc) · 1.41 KB

Local testing

This website is built using Docusaurus 2, a modern static website generator. When you add or edit pages, you may conveniently preview them locally on your computer.

Requirements

  • In order to clone the repository to your computer, you may simply download the repository from Github and extract it. If you want to work locally on changes in your fork, the installation of Git and Visual Studio Code may be convenvient.
  • To create a local preview of the website, you need to install NodeJS (we recommend using the LTS 16.x version, at least >=16.14 is required).

Installation

To install the required packages to the Docusaurus repository, change to the extracted repository directory on your shell and use the following command :

npm install

Start Local Testing

To (re-)build the KB files after a content update, run:

npm run build

To run a local testing instance of the knowledge base, run:

npm run start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. Press Ctrl + C to stop.

For further details please refer to the Docusaurus documentation.