Difference between revisions of "System.pc2.yaml"
From PC2wiki
m (update description) |
m (→Example: fix markup typo) |
||
Line 23: | Line 23: | ||
site: 1 | site: 1 | ||
count: 1 | count: 1 | ||
− | + | ||
auto-judging: | auto-judging: | ||
- account: JUDGE | - account: JUDGE | ||
Line 71: | Line 71: | ||
IP: localhost | IP: localhost | ||
port: 54002 | port: 54002 | ||
− | |||
===Other Values=== | ===Other Values=== |
Revision as of 11:16, 30 June 2017
Contents
Overview
A system.pc2.yaml file contains additional yaml settings. See contest.yaml for details about yaml files.
Contents of contest.yaml
Typically this file contains PC^2 enhansements see article CCS Enhancements.
Example
See descriptions in CCS_Enhancements for info on these sections
accounts: - account: TEAM site: 1 count: 80 - account: JUDGE site: 1 count: 12 - account: SCOREBOARD site: 1 count: 1 auto-judging: - account: JUDGE site: 1 number: 2 letters: A enabled: yes - account: JUDGE site: 1 number: 4,5,6 letters: B,C,D - account: JUDGE site: 2 number: all letters: B,C,D - account: JUDGE site: 1 number: 1,3 letters: F enabled: no sites: - number: 2 name: 'Site 2' password: site2 IP: localhost port: 51002 - number: 3 name: 'Site 3' password: site3 IP: localhost port: 52002 - number: 4 name: 'Site 4' password: site4 IP: localhost port: 53002 - number: 5 name: 'Site 5' password: site5 IP: localhost port: 54002
Other Values
Other custom values are found in the article CCS Enhancements
Creating system.pc2.yaml
Currently the sections that are typically in systems.pc2.yaml are in the contest.yaml
A contest.yaml, problem.yaml and data files can be saved using either:
- the Export Contest YAML feature
- the Export Contest YAML feature
- or use the Export Contest XML Report
Loading system.pc2.yaml
See Load Contest Configuration article