2 Quick Start for a Test Drive
Create a new directory.
Copy "server-cert.pem" from the "handin-client" collection to the new directory.
NOTE: For real use, you need a new certificate.
NOTE: See also Where is the Collection?.
Copy "private-key.pem" from the "handin-server" collection to the new directory.
NOTE: For real use, you need a new key.
- Create a file "users.rktd" with the following content:
((tester ("8fe4c11451281c094a6578e6ddbf5eed" "Tester" "1" "test@cs"))) Make a "test" subdirectory in your new directory.
- Create a file "config.rktd" with the following content:
((active-dirs ("test")))
- In your new directory, runracket -l handin-server
In the "handin-client" collection, edit "info.rkt" and uncomment the lines that define drracket-tools, drracket-tool-names, drracket-tool-icons, and server:port.
- Runraco setup handin-client
Start DrRacket, click Handin to run the client, submit with username “tester” and password “pw”.
The submitted file will be ".../test/tester/handin.rkt".
Check the status of your submission by pointing a web browser at https://localhost:7979/. Note the “s” in “https”. Use the “tester” username and “pw” password, as before.
NOTE: The embedded web server can be disabled in the configuration file if you don’t want to use it.