Skip to content

tonythomas01/browserperfdash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Igalia Browsers Performance Dashboard

Build Status PRs Welcome

The applicaiton powers https://browserperfdash.igalia.com and provides a dashboard to analyze browser perofrmance reports. Bots send in the data via POST APIs and the application perfroms the number crunching.

Collect Pre-requisites

Install python3-pip, python-dev and virtualenvwrapper

sudo apt-get install python3 python3-pip python3-dev virtualenvwrapper

Get the files

You can clone it directly from https://github.com/Igalia/browserperfdash

git clone https://github.com/Igalia/browserperfdash

Setup development environment

First, some initialization steps. Most of this only needs to be done one time. You will want to add the command to source /usr/local/bin/virtualenvwrapper.sh to your shell startup file (.bashrc or .zshrc) changing the path to virtualenvwrapper.sh depending on where it was installed by pip.

export WORKON_HOME=~/Envs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh

Lets create a virtual environment dashboard for our project

mkvirtualenv -p /usr/bin/python3 dashboard
workon dashboard

Install requirements

All the requirements are mentioned in the file requirements.txt.

pip install -r requirements.txt

Setup database

Setup tables in the DB

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser

Collect all the static files for fast serving

python manage.py collectstatic

Create browserperfdash/local_settings.py with local configurations

mv docs/local-settings.py browserperfdash/local_settings.py

Run server

python manage.py runserver

About

Browsers Performance Dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.6%
  • CSS 17.0%
  • Python 10.1%
  • HTML 4.3%