Page Analyzer is a site that analyses specified pages for SEO-suitability (like PageSpeed Insights).
It's hosted on my website.
To run the app locally, check the description below.
Clone this repo or download it with pip:
git clone https://github.com/zluuba/page-analyzer.git
pip install --user git+https://github.com/zluuba/page-analyzer.git
Install dependencies:
cd page-analyzer # don't forget cd to downloaded package dir
make install
Use these commands or download DB from official website:
brew install postgresql # MacOS
sudo apt install postgresql # Linux, Windows
Create database and set schema:
createdb mydb
psql mydb < database.sql
nano .env
And write down the following environment variables (paste your data):
DATABASE_URL = 'postgres://<username>:<password>@<localhost>:<port>/mydb'
SECRET_KEY = 'SecretKey'
Run WSGI HTTP server and follow the link you will see:
make start
Or run locally with flask:
make dev