|
META TOPICPARENT |
name="ProgrammingTeamCoachNotes" |
This page is for information about how to run a contest at UBC using pc2server. |
| On the server (e.g. cascade):
- Find/make a pc2 executables directory. Let's call that directory $SERVERDIR. Ducky has hers in ~duckys/ubcacm/pc2v87; you can also download the pc2v87 package
to whereever you want.
- Edit $SERVERDIR/pc2v8.ini. We generally use cascade.cs.ubc.ca port 50002; there is a sample ini file at the bottom of this page that has worked in the past.
|
|
> > |
- run ./pc2reset
- run ./pc2server
|
|
On the client (e.g. one of the 011 machines; account id/pw are passed on via oral tradition only):
- Copy the ini file from the server (e.g. scp name@cascade.cs.ubc.ca:ubcacm/pc2v87 .)
- Copy the input/output data from whatever site you found it on to someplace locally, let's call that $DATADIR. Note that if you are having trouble with disk space, you can put that in /tmp. (You will specify the directory from pc2admin.)
- Run $SERVERDIR/pc2admin.
|
|
< < |
-
- The user/password at startup is admin/"root".
|
> > |
-
- The user/password at startup is root/root.
|
|
-
- Go to the Accounts tab.
- Change the root password; select the "Manage Accounts" radio button, "Admin" from the Account Type dropdown menu, select "root", select Edit.
- Generate accounts from the Accounts tab. You need at least one judge, one board, and at least one team. If you think you will have N teams show up, you should probably make N+m team accounts -- it doesn't cost anything to make extras. It's nice if you can put the team name in, but not critical. Note that there is a way to batch-import the teams. TODO remember/figure out how and document it.
|