Page Analyzer is a web application based on the Flask framework.
https://hexlet-code-x1te.onrender.com/
Page Analyzer is a website that analyzes specified pages for SEO suitability similar to PageSpeed Insights.
To access the project, please visit Page Analyzer.
- On the main page of Page Analyzer, click on the input field.
- Type or paste the URL of the webpage you want to analyze.
- Once you've entered the URL, you can either press the "Enter" key or click on the "ПРОВЕРИТЬ" (CHECK) button to initiate the analysis process.
- If your URL is valid and doesn't exceed 255 characters, you'll be able to run checks on it.
- The checks will return the response code from trying to access the website, as well as h1, title, and description if available.
- Click on "Сайты" (Sites) in the navigation panel to open the table of all pages added for analysis.
- The table displays the time and results of the last check for each page.
- Download this repository contents to your local machine.
- Create file named ".env" in your project directory. Add
export DATABASE_URL=...andexport SECRET_KEY=...lines to this file, so you can set your environment variables.
⚠️ DATABASE_URL is URL of your local database that will be used to store data. If you don't have an empty database, create one using PostgreSQL. Please, don't create any tables in this database manually before the next step.
- Use command
make buildto install and create required tables in your database.
Alternatively, you can just directly start the "build.sh" script.
- Use command
make startto start Page Analyzer locally.
If you want to use any port other than 8000, you can change the variable in the Makefile.
Feel free to explore and analyze webpages effectively using Page Analyzer!