-
Notifications
You must be signed in to change notification settings - Fork 4
Installation Instructions
Run Python 3 virtual environment venv
$ python3 -m venv venv
Start virtual environment
$ source venv/bin/activate
Install requirements with pip
$ pip install -r requirements.txt
Start browser application
$ python3 app.py
Verify it works & then shut it down.
Check which version of Chrome you are using and download the appropriate Chromedriver in my case:
$ wget https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_mac64.zip
Unzip & move to /usr/local/bin and make writeable:
$ unzip chromedriver_mac64.zip
$ mv chromedriver /usr/local/bin
$ chmod +x /usr/local/bin/chromedriver
Get latest Firefox driver geckodriver in my case:
$ wget https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-macos.tar.gz
Unzip & move to /usr bin and make writeable:
$ tar -xvf geckodriver-v0.27.0-macos.tar.gz
$ mv geckodriver /usr/local/bin
$ chmod +x /usr/local/bin/geckodriver
Install NodeJS & NPM and install Google's Lighthouse
$ npm install -g lighthouse
Download Xpdf and uncompress files
$ wget https://dl.xpdfreader.com/xpdf-tools-mac-4.02.tar.gz --no-check-certificate
$ tar -xvf xpdf-tools-mac-4.02.tar.gz
Move binaries to /usr/local/bin and manuals:
$ cd xpdf-tools-mac-4.02/bin64
$ mv * /usr/local/bin/
$ cd ../doc
$ mv *.1 /usr/share/man/man1/?? This didn't work on my mac.
$ mv *.5 /usr/share/man/man5/??
Follow the steps from Google's docs