Difference between revisions of "Load Contest Configuration"

From PC2wiki
Jump to: navigation, search
m (See also: rename cat)
m (--load Examples: added sample)
 
Line 18: Line 18:
  
 
  --load contest.yaml
 
  --load contest.yaml
 +
 +
--load /home/joej/cdps/bestcontest/config/contest.yaml
  
 
# specify a contest.yaml file that is in a CDP/config
 
# specify a contest.yaml file that is in a CDP/config
Line 24: Line 26:
  
 
# a sample CDP directory name, a directory under samps/contests directory
 
# a sample CDP directory name, a directory under samps/contests directory
 
  
 
==Using the admin==
 
==Using the admin==

Latest revision as of 18:13, 27 June 2017


Using the pc2 server

Use the --load command line option will load a contest configuration once. The --load option will not overwrite an existing server configuration.

--load CDP option

--load Examples

--load directory

where the directory can be:

  1. a CDP directory, that contains the config/ directory
  2. a CDP config directory


--load contest.yaml

--load /home/joej/cdps/bestcontest/config/contest.yaml
  1. specify a contest.yaml file that is in a CDP/config
--load SAMPLE
  1. a sample CDP directory name, a directory under samps/contests directory

Using the admin

Import CCS Tab Import contest.yaml directory.

The Import contest.yaml will add/update settings, it will prompt with contest information and ask the user to approve the overwriting of existing configuration information.


See Also