running_pc2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
running_pc2 [2010/11/11 09:14] – jtkorb | running_pc2 [2012/10/23 16:17] (current) – [After Competition] jtkorb | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | - Login to pc2.cs.purdue.edu | + | |
- | - cd /home/jtk/pc2 (note local-local directory; | + | - One time only: copy / |
- | - bin/pc2site | + | - Change into the directory where your pc2v9.ini file is located. |
- | - Login as site1/site1; choose contest password | + | - Launch pc2: / |
- | - bin/pc2admin & | + | - Log in as teamX/ |
- | - Login as administrator1/ | + | |
- | - Accounts tab, Generate accounts (1 judge, x teams, 1 scoreboard) | + | ====== Administrator |
+ | |||
+ | ===== Account Setup ===== | ||
+ | |||
+ | - Login to cs390cp@pc.cs.purdue.edu | ||
+ | - 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/desired] | ||
+ | - pc2server | ||
+ | - Login as site1; choose contest password | ||
+ | - pc2admin & | ||
+ | - Login as administrator1 | ||
- Languages tab, Add, Auto Populate with Java and GNU C++, possibly GNU C | - Languages tab, Add, Auto Populate with Java and GNU C++, possibly GNU C | ||
- | - Problems tab, Add | + | |
+ | - Load account information from file (see http:// | ||
+ | - File generated by web2py in progress/ | ||
+ | |||
+ | ===== Before Weekly Class ===== | ||
+ | |||
+ | - Create snapshot of current pc2 setup | ||
+ | - Exit pc2 (server and admin) | ||
+ | - cd ~ | ||
+ | - cp -pr pc2-9.2.3 pc2-contest | ||
+ | - cd pc2-contest | ||
+ | - rm archive/* | ||
+ | - Launch server and admin, login | ||
+ | | ||
- Problem name | - Problem name | ||
- Problem Requires Input Data, Stdin, Input Data File | - Problem Requires Input Data, Stdin, Input Data File | ||
Line 17: | Line 40: | ||
- Select judge1, Edit | - Select judge1, Edit | ||
- Shift-select all problems, Enable Auto Judging, Update | - Shift-select all problems, Enable Auto Judging, Update | ||
- | | + | |
+ | ===== In Class ===== | ||
+ | |||
+ | - cd to pc2-contest directory | ||
+ | - Relaunch: pc2server and pc2admin | ||
+ | | ||
- Select site1, Edit | - Select site1, Edit | ||
- Set/update remaining, elapsed, and length times | - Set/update remaining, elapsed, and length times | ||
- Start ALL | - Start ALL | ||
+ | - bin/ | ||
+ | - Login as judge1/ | ||
+ | - bin/ | ||
+ | - Login as scoreboard1/ | ||
+ | - firefox html/ | ||
- | ====== Fixing Things ====== | + | ===== After Competition |
+ | - pc2reset | ||
+ | - Copy archive into main directory (~/ | ||
+ | - Remove pc2-contest | ||
running_pc2.1289495691.txt.gz · Last modified: 2010/11/11 09:14 by jtkorb