From 43ecbe4837891cea04d1da696cd97725d46237bb Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 19 Aug 2010 15:56:07 -0600 Subject: [PATCH] rackety handin-server docs and other repairs --- collects/handin-server/scribblings/checker.scrbl | 5 ++++- .../handin-server/scribblings/client-customization.scrbl | 8 ++++---- collects/handin-server/scribblings/quick-start.scrbl | 5 +---- collects/handin-server/scribblings/server-client.scrbl | 4 ++-- .../handin-server/scribblings/wheres-the-collection.scrbl | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/collects/handin-server/scribblings/checker.scrbl b/collects/handin-server/scribblings/checker.scrbl index 1873c3ceaf..250a610970 100644 --- a/collects/handin-server/scribblings/checker.scrbl +++ b/collects/handin-server/scribblings/checker.scrbl @@ -63,7 +63,10 @@ Keywords for configuring @scheme[check:]: @item{@indexed-scheme[:language]---the language that is used for evaluating submissions, same as the @scheme[_language] argument for - @scheme[make-evaluator] (see @schememodname[handin-server/sandbox]). + @scheme[make-evaluator] (see @schememodname[handin-server/sandbox]), + except that if the value ls @racket[(list 'module _spec)], + then @racket[make-module-evaluator] is used with @racket[_spec] + as its @racket[#:language] argument. There is no default for this, so it must be set or an error is raised. (See @scheme[call-with-evaluator/submission] for further details.)} diff --git a/collects/handin-server/scribblings/client-customization.scrbl b/collects/handin-server/scribblings/client-customization.scrbl index 128a588f71..dabf82cf87 100644 --- a/collects/handin-server/scribblings/client-customization.scrbl +++ b/collects/handin-server/scribblings/client-customization.scrbl @@ -6,8 +6,8 @@ @itemize[ @item{Rename (or make a copy of) the @filepath{handin-client} collection directory. The new name should describe your class -uniquely. For example, @filepath{uu-cpsc2010} is a good name for CPSC -2010 at the University of Utah.} +uniquely. For example, @filepath{uu-cs1410} is a good name for CS +1410 at the University of Utah.} @item{Edit the first three definitions of @filepath{info.ss} in your renamed client collection: @@ -48,7 +48,7 @@ uniquely. For example, @filepath{uu-cpsc2010} is a good name for CPSC private. (See @secref{server-setup}.)} @item{To create an installable package, run - @commandline{mzc --collection-plt .plt } where @tt{} + @commandline{raco pack --collect .plt } where @tt{} is the name that you chose for your directory (i.e., whatever you changed @filepath{handin-client} to). @@ -59,7 +59,7 @@ uniquely. For example, @filepath{uu-cpsc2010} is a good name for CPSC variable. For example, if your customized collection directory is called @filepath{cs1} and it is located at @filepath{/home/joe/intro/cs1}, then you can run - @commandline{PLTCOLLECTS=/home/joe/intro: mzc --collection-plt cs1.plt cs1} + @commandline{PLTCOLLECTS=/home/joe/intro: raco pack --collect cs1.plt cs1} (Don't forget the colon at the end of the @envvar{PLTCOLLECTS} value; it is important!) diff --git a/collects/handin-server/scribblings/quick-start.scrbl b/collects/handin-server/scribblings/quick-start.scrbl index 2efe52ef37..f25902b986 100644 --- a/collects/handin-server/scribblings/quick-start.scrbl +++ b/collects/handin-server/scribblings/quick-start.scrbl @@ -36,10 +36,7 @@ @scheme[server:port], @scheme[tools], @scheme[tool-names], and @scheme[tool-icons].} -@item{Run @commandline{setup-plt -l handin-client} - - NOTE: Under Windows, the executable is @exec{Setup PLT} instead of - @exec{setup-plt}. +@item{Run @commandline{raco setup -l handin-client} NOTE: The command line arguments are optional, it restricts the setup work to the specified collection.} diff --git a/collects/handin-server/scribblings/server-client.scrbl b/collects/handin-server/scribblings/server-client.scrbl index 720c9514de..9557802cc5 100644 --- a/collects/handin-server/scribblings/server-client.scrbl +++ b/collects/handin-server/scribblings/server-client.scrbl @@ -3,11 +3,11 @@ @title{Handin-Server and Client} -The @filepath{handin-server} directory contains a server to be run by a +The @filepath{handin-server} collection directory contains a server to be run by a course instructor for accepting homework assignments and reporting on submitted assignments. -The @filepath{handin-client} directory contains a client to be +The @filepath{handin-client} collection directory contains a client to be customized then re-distributed to students in the course. The customized client will embed a particular hostname and port where the server is running, as well as a server certificate. diff --git a/collects/handin-server/scribblings/wheres-the-collection.scrbl b/collects/handin-server/scribblings/wheres-the-collection.scrbl index cbda9b46a9..59c1e3b0b4 100644 --- a/collects/handin-server/scribblings/wheres-the-collection.scrbl +++ b/collects/handin-server/scribblings/wheres-the-collection.scrbl @@ -5,7 +5,7 @@ If you obtained the server and client by installing a @filepath{.plt} file, then the @filepath{handin-server} and @filepath{handin-client} -directories might be in your PLT addon space. Start Racket, and +directories might be in your Racket addon space. Start Racket, and enter @schemeblock[(collection-path "handin-server")] @schemeblock[(collection-path "handin-client")] to find out where these collections are.