{"size": 1722, "ext": "scrbl", "max_stars_repo_path": "handin-server/scribblings/quick-start.scrbl", "max_stars_repo_name": "ccshan/handin", "max_stars_repo_stars_event_min_datetime": "2015-12-02T17:34:36.000Z", "max_stars_repo_stars_event_max_datetime": "2017-09-01T00:49:49.000Z", "max_issues_repo_path": "handin-server/scribblings/quick-start.scrbl", "max_issues_repo_name": "ccshan/handin", "max_issues_repo_issues_event_min_datetime": "2015-09-10T12:23:13.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-28T20:36:51.000Z", "max_forks_repo_path": "handin-server/scribblings/quick-start.scrbl", "max_forks_repo_name": "ccshan/handin", "max_forks_repo_forks_event_min_datetime": "2016-08-08T14:28:45.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-12T23:50:38.000Z"}
{"max_stars_count": 5, "max_issues_count": 27, "max_forks_count": 6, "avg_line_length": 32.4905660377, "max_line_length": 71, "alphanum_fraction": 0.7131242741}
#lang scribble/doc
@(require "common.rkt")

@title{Quick Start for a Test Drive}

@itemize[
@item{Create a new directory.}

@item{Copy @filepath{server-cert.pem} from the
  @filepath{handin-client} collection to the new directory.

  NOTE: For real use, you need a new certificate.

  NOTE: See also @secref{wheres-the-collection}.}

@item{Copy @filepath{private-key.pem} from the
  @filepath{handin-server} collection to the new directory.

  NOTE: For real use, you need a new key.}

@item{Create a file @filepath{users.rktd} with the following content:
  @racketblock[
    ((tester ("8fe4c11451281c094a6578e6ddbf5eed"
              "Tester" "1" "test@cs")))]}

@item{Make a @filepath{test} subdirectory in your new directory.}

@item{Create a file @filepath{config.rktd} with the following content:
  @racketblock[((active-dirs ("test")))]}

@item{In your new directory, run
  @commandline{racket -l handin-server}}

@item{In the @filepath{handin-client} collection, edit
  @filepath{info.rkt} and uncomment the lines that define
  @racket[drracket-tools], @racket[drracket-tool-names],
  @racket[drracket-tool-icons], and @racket[server:port].}

@item{Run @commandline{raco setup handin-client}}

@item{Start DrRacket, click @onscreen{Handin} to run the client,
  submit with username ``@tt{tester}'' and password ``@tt{pw}''.

  The submitted file will be @filepath{.../test/tester/handin.rkt}.}

@item{Check the status of your submission by pointing a web browser at
  @tt{https://localhost:7979/}.  Note the ``s'' in ``@tt{https}''.  Use
  the ``@tt{tester}'' username and ``@tt{pw}'' password, as before.

  NOTE: The embedded web server can be disabled in the configuration
  file if you don't want to use it.}
]
