Runs lighthouse audit using headless chrome.
In command line run
./start.sh
Or using docker-compose
docker build . -t lighthouse-report:latest
docker-compose up
The project includes both scripts needed for running the audits and a webserver to serve the reports online
lighthouse-report
├── config (application config for example which audits to run)
├── scripts (everything related to running and generating reports)
└── web (node.js express server for serving reports online)
│ ├── routes
│ └── views
└── start.sh (Start script, starting both scrupt runnner and web server)
Add the URL and name of the page you want to audit in the file /config/audits.json For example
{
"name": "foobar-startpage",
"url": "https://www.foobar.com/"
}