The official website for GC Stats, providing a clean view of matches, teams, players, tournaments, and all our data
| Build Status | Latest Version | Status | Translation |
|---|---|---|---|
This repository contains the main component of GC Stats, our website
It's designed to give you the most informations as possible, in a simple & comprehensive way
- Emote graphics are based on Twemoji, licensed under CC-BY 4.0. Copyright 2020 Twitter, Inc and other contributors.
License: This project is licensed under the GC-Stats License v1.0 - see the LICENSE file for details.
- Framework: Laravel 13+
- Styling: Tailwind CSS
- Database: MySQL 8.0+ / MariaDB 10.11+
- Cache & Queue: Redis
- Frontend: Blade & Alpine.js
- Valorant API: Riot Games Official API
Caution
Compatibility Warning: This project is not compatible with SQLite. We use MySQL-specific JSON operations and complex relationship grouping that SQLite does not support.
The easiest way to get started without installing PHP or MySQL locally.
- Clone the repo:
git clone https://github.com/GC-Stats/Website.git cd Website - Copy .env
Edit the files, and set your own variable
cp .env.example .env
Caution
You need to deploy your own Redis & Database (MariaDb or MySQL)
-
Launch it via Docker
docker compose up -d
-
Clear cache and make the migration
docker compose exec -T gcs-website php artisan config:cache docker compose exec -T gcs-website php artisan route:cache docker compose exec -T gcs-website php artisan view:cache docker compose exec -T gcs-website php artisan migrate --force
- Requirements: PHP 8.4+, Composer, Node.js, MySQL, Redis.
- Commands:
composer install npm install cp .env.example .env php artisan key:generate php artisan migrate npm run build php artisan serve
We use Pest for our testing suite. To run the tests:
php artisan testInterested in helping? Please refer to our CONTRIBUTING.md for guidelines on how to submit pull requests.