Giter Club home page Giter Club logo

quaver.tournaments's Introduction

Quaver.Tournaments

Platform that helps organisers host their own tournaments.

What the project contains

TBA

Setting up project

Requirements

  1. Nginx (or other web server)
  2. PHP 8.2 (or above)
  3. Mariadb (or MySQL)
  4. Redis

Install

  1. Clone the project
  2. Configure the server to use /public for root directory. Settings up with Nginx
  3. Copy .env.example and rename to .env and configure it
  4. composer install
  5. php artisan key:generate
  6. php artisan migrate
  7. sh deploy.sh

Development Environment using Laravel Sail

Development Environment using Laravel Sail

Nginx config

server {
    listen 443 ssl http2;
    server_name tournaments.quavergame.com;
    root /qot/public;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-Content-Type-Options "nosniff";

    index index.php;

    charset utf-8;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    error_page 404 /index.php;

    location ~ \.php$ {
        fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        include fastcgi_params;
    }

    location ~ /\.(?!well-known).* {
        deny all;
    }
}

Commands

  • artisan user:role
  • artisan user:ghost

ENV

For linking Discord - https://discord.com/developers/applications For login with Quaver - https://quavergame.com/developers/applications

  • APP_LOCK - true or false

  • AUTH_USER - user

  • AUTH_PASSWORD - password

  • DISCORD_BOT=false - TBA

  • DISCORD_CLIENT_ID= - Discord bot client id

  • DISCORD_SECRET= - Discord bot secret

  • DISCORD_REDIRECT= - Redirect after login

  • QUAVER_CLIENT_ID= - Quaver client id

  • QUAVER_SECRET= - Quaver secret

  • QUAVER_REDIRECT= - Redirect after login

License

This project is licensed under the AGPL-3.0 license.

quaver.tournaments's People

Contributors

aiae avatar icedynamix avatar kasumiikun avatar pianoluigi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pianoluigi

quaver.tournaments's Issues

Swiss matches do not provide UTC time

Unlike Qualifier matches, Swiss do not display the utc time of the match in addition to the local time, this can be a problem as having the utc time on hand makes it marginally easier to coordinate.

Site improvements

List:

  • Re-link Discord
  • Player reschedule themselfs
  • Team names update when tournament is solo format

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.