Difference between revisions of "System.pc2.yaml"

From PC2wiki
Jump to: navigation, search
m (Other Values: remove section)
m (fix links)
Line 87: Line 87:
  
 
==See Also==
 
==See Also==
* [[contett.yaml]]
+
* [[contest.yaml]]
 +
* [[CCS Enhancements]]
  
 
[[Category:Version 9.5]]
 
[[Category:Version 9.5]]
 
[[Category:Import and Export]]
 
[[Category:Import and Export]]

Revision as of 11:17, 30 June 2017

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

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:

  1. the Export Contest YAML feature
  2. the Export Contest YAML feature
  3. or use the Export Contest XML Report

Loading system.pc2.yaml

See Load Contest Configuration article

See Also