GitXplorerGitXplorer
w

rws

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
cae24568edb014ae1510449bd54677898f3a88c5

Bump version

wwil93 committed 7 years ago
Unverified
9a7fbb04022711aed822fea0ba0e12bbafa99194

Make the RWS overview work for zero-score and single-user contests

llw committed 7 years ago
Unverified
5e43478d8a394420d5323f5596b36ee6bd907c7f

Have RWS be less strict in its HTTP compliance

llw committed 7 years ago
Unverified
4a3947911917985796e0bda336a15ec84518681a

Avoid unnecessarily gendered code

sstefano-maggiolo committed 8 years ago
Unverified
e73ae40f6233c2e92837e3f18a565313420cf912

Upgrade python deps to those present in Ubuntu 16.04

sstefano-maggiolo committed 8 years ago
Unverified
1eefc25514e52356a4ae19f1076ee72de1617926

Make main() return an exit code instead of a boolean for all scripts in scripts/

sstefano-maggiolo committed 8 years ago

README

The README file for this repository.

Ranking Web Server

A web server to set up and manage a ranking page. Normally, you would need to install CMS in order to have RWS. This "fork" tries to ease installation of RWS by splitting it away from CMS into its own python package.

Installation

pip install rws

Usage

$ rws --help
usage: rws [-h] [-d] [-p HTTP_PORT] [--https-port HTTPS_PORT]
           [--https-certfile HTTPS_CERTFILE] [--https-keyfile HTTPS_KEYFILE]
           [-t TIMEOUT] [-b BIND_ADDRESS] [--realm-name REALM_NAME] [-l LOGIN]
           [--buffer-size BUFFER_SIZE] [-c CONFIG] [--log-dir LOG_DIR]
           [--lib-dir LIB_DIR]

Ranking Web Server.

optional arguments:
  -h, --help            show this help message and exit
  -d, --drop            Drop the data already stored. (default: False)
  -p HTTP_PORT, --http-port HTTP_PORT
                        Listening HTTP port for RankingWebServer. (default:
                        8890)
  --https-port HTTPS_PORT
                        Listening HTTPS port for RankingWebServer. (default:
                        None)
  --https-certfile HTTPS_CERTFILE
                        HTTPS certificate file for RankingWebServer. (default:
                        None)
  --https-keyfile HTTPS_KEYFILE
                        HTTPS key file for RankingWebServer. (default: None)
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout. (default: 600)
  -b BIND_ADDRESS, --bind-address BIND_ADDRESS
                        Listening address for RankingWebServer. (default: )
  --realm-name REALM_NAME
                        Realm name for authentication. (default: Scoreboard)
  -l LOGIN, --login LOGIN
                        Login information for adding and editing data.
                        (default: usern4me:passw0rd)
  --buffer-size BUFFER_SIZE
                        Buffer size. (default: 100)
  -c CONFIG, --config CONFIG
                        Path to a JSON config file. (default: None)
  --log-dir LOG_DIR     Directory where RWS will store log files. (default:
                        /var/local/log/cms/ranking)
  --lib-dir LIB_DIR     Directory where RWS will store runtime data. (default:
                        /var/local/lib/cms/ranking)