Giter VIP home page Giter VIP logo

rating-update's Introduction

rating-update

Ratings for Guilty Gear: Strive

This version is currently being hosted on puddle.farm.

How does this work?

Replays are pulled from Strive's servers, they are then processed using a modified Glicko algorithm, which you can read more about here.

Customizing

Download Bulma's sass source files and place the contents in /static/sass. Use the sass executable via npm to generate styles .css from styles. scss.

Setting up config for development

Duplicate the .env.example file in the root directory and rename it to .env.

Change the default values to your own.

To get the STEAM_ID and STEAM_HEX you can use a site like steamidfinder, enter your steamname and then copy the steamID64 (Dec) and steamID64 (Hex) respectively.

To get the USER_ID try visiting ratingupdate and look up your own profile. Get the id in the url and convert it from hex into decimal.

Setting up a local database for development

To setup a database with some data you can run the following commands.

cargo run init # Setup the tables and indices of the database
cargo run #Start pulling matches and updating players.

#For release mode (faster, but slower to compile)
cargo run --release init
cargo run --release

Some other useful commands available are:

cargo run nothoughts #Will only run the website, without updating any data
cargo run pull #Pulls data, without updating anything

You can find more in main.rs

Once the database is setup you can start a local server that is accessible on localhost with cargo run. By default the server will continuously pull down new replays and update the rankings. If you do not want this behaviour you may run cargo run -- nothoughts instead to only start the website.

rating-update's People

Contributors

halvnykterist avatar nemasu avatar marwes avatar shiburizu avatar theoretical avatar rnevils avatar

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.