Gå till innehållet

Installation

Förutsättningar

  • Python 3.13 eller senare
  • Node.js 24.x
  • Google Chrome
  • Mozilla Firefox

Steg för steg

# 1. Klona repot
git clone https://github.com/Webperf-se/webperf_core.git
cd webperf_core

# 2. Installera Python-beroenden
python -m pip install --upgrade pip
pip install -r requirements.txt

# 3. Installera Node.js-beroenden
npm install --omit=dev

# 4. Verifiera installationen
python default.py -h

Verifiera

Om installationen lyckades ser du hjälptexten med alla tillgängliga flaggor:

WebPerf Core

Usage:
default.py -u https://webperf.se

Options and arguments:
-h/--help            : Help information
-u/--url <site url>  : website url to test against
-t/--test <number>   : run ONE test (use ? to list)
-r/--review          : show reviews in terminal
...