running_pc2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| running_pc2 [2011/08/23 09:25] – jtkorb | running_pc2 [2012/10/23 16:17] (current) – [After Competition] jtkorb | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Student Notes for Competing Using PC^2 ====== | ====== Student Notes for Competing Using PC^2 ====== | ||
| - | - One time only: copy / | + | - One time only: copy / |
| - Change into the directory where your pc2v9.ini file is located. | - Change into the directory where your pc2v9.ini file is located. | ||
| - | - Launch pc2: / | + | - Launch pc2: / |
| - Log in as teamX/ | - Log in as teamX/ | ||
| ====== Administrator Notes for Running Programming Competitions with PC^2 ====== | ====== Administrator Notes for Running Programming Competitions with PC^2 ====== | ||
| - | ===== Before Class ===== | + | ===== Account Setup ===== |
| - Login to cs390cp@pc.cs.purdue.edu | - Login to cs390cp@pc.cs.purdue.edu | ||
| - | - cd pc2 (assumes pc2 is a symlink to current version, pc2-9.1.6) | + | - cd pc2 (assumes pc2 is a symlink to current version, pc2-9.3.1; pc2v9.ini edited to point to server at pc.cs.purdue.edu) |
| - pc2reset [if necessary/ | - pc2reset [if necessary/ | ||
| - pc2server & (assumes pc2/bin is in path) | - pc2server & (assumes pc2/bin is in path) | ||
| Line 17: | Line 17: | ||
| - pc2admin & | - pc2admin & | ||
| - Login as administrator1 | - Login as administrator1 | ||
| + | - Languages tab, Add, Auto Populate with Java and GNU C++, possibly GNU C | ||
| - Accounts tab, Generate accounts (1 judge, x teams, 1 scoreboard) | - Accounts tab, Generate accounts (1 judge, x teams, 1 scoreboard) | ||
| - | - Optional: | ||
| - Load account information from file (see http:// | - Load account information from file (see http:// | ||
| - File generated by web2py in progress/ | - File generated by web2py in progress/ | ||
| - | | + | |
| - | - Problems tab, Add | + | ===== Before Weekly Class ===== |
| + | |||
| + | | ||
| + | - Exit pc2 (server and admin) | ||
| + | - cd ~ | ||
| + | - cp -pr pc2-9.2.3 pc2-contest | ||
| + | - cd pc2-contest | ||
| + | - rm archive/* | ||
| + | - Launch server | ||
| + | - Problems tab, Add (repeat for each problem) | ||
| - Problem name | - Problem name | ||
| - Problem Requires Input Data, Stdin, Input Data File | - Problem Requires Input Data, Stdin, Input Data File | ||
| Line 34: | Line 43: | ||
| ===== In Class ===== | ===== In Class ===== | ||
| - | - Relaunch: pc2server and pc2admin | + | |
| + | | ||
| - Times tab (pc2admin) | - Times tab (pc2admin) | ||
| - Select site1, Edit | - Select site1, Edit | ||
| Line 44: | Line 54: | ||
| - Login as scoreboard1/ | - Login as scoreboard1/ | ||
| - firefox html/ | - firefox html/ | ||
| + | |||
| + | ===== After Competition ===== | ||
| + | |||
| + | - pc2reset | ||
| + | - Copy archive into main directory (~/ | ||
| + | - Remove pc2-contest | ||
running_pc2.1314116712.txt.gz · Last modified: 2011/08/23 09:25 by jtkorb