Skip to content

kdefives/valoperf

Repository files navigation

valoperf

Quick brief

Valoperf was a website to analyze Valorant player stats. Since now, the website is not offline because i was alone to manage it and i do not have time anymore to work on it. Consequently, i decide to publish the code publicly to let anyone to reuse it if anybody want to revive the website. Feel free, the code is under MIT. What was Valoperf:

How to setup your dev environment

Prerequisites

  • On Windows 10, install WSL2 (ubuntu shoud be good)
  • Install Docker-Desktop
  • Launch docker-desktop. Normally, docker-desktop will automatically start your WSL2 Ubuntu
  • Add this line in your Windows hosts file C:/Windows/System32/drivers/etc/hosts :
127.0.0.1 local.valoperf.com

Step to be executed on the WSL ubuntu

git clone ... 
cd valoperf
docker-compose build   (To build the docker images)
docker-compose up -d database-valoperf adminer php-fpm-valoperf nginx-valoperf    (To start the application)
docker-compose exec php-fpm-valoperf bash   (If you want to enter in the container, for instance to execute Symfony command for clean the cache, etc...http://local.valoperf.com)

FAQ - Known issues

  • If strange things happens on the site during development (ie. login not working properly, page not render correctly, etc... ). Let's try to connect on php-fpm-valoperf container and execute the command below. This problem can occurs when the app server do not have permissions to write on cache files generated. This error could appears in app/var/log...
    chmod -R 777 /var/www/*
    

PHPStan

  • Execute this command on the php-fpm container to launch PHPStan tests:
vendor/bin/phpstan analyse
  • You can increase the value 0 (available values are 0 to 8) to be more precise in the detection.

How to access application

  • localhost:8080 using adminer to manage database
  • local.valoperf.com:8081 to access and test application

About

Valo Perf

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •