Connect Moodle in two minutes.
No Jobe server, no Docker and no firewall rules: your Moodle server (grading) and your students' browsers (the editor) connect out to CodeLab Cloud over HTTPS.
Free 30-day trial
Install the plugins
From the Moodle Plugins directory: tiny_codelab (required, version 1.31 or newer), filter_codelab (runnable examples in pages and lessons) and qtype_codelab (auto-graded programming questions). Turn the CodeLab filter on in Site administration, Plugins, Filters, Manage filters.
Click Get a free 30-day trial
Open Site administration, Plugins, Text editors, TinyMCE editor, CodeLab. In Hosted runner (optional), click Get a free 30-day trial. Your Moodle sends its address and your e-mail address to trial.codelabedu.com, which asks your site to confirm the request and sends back the connection key. The key is set by itself and the page shows the plan.
Set the server and save
Leave Jobe server empty with Server for running and grading on Automatic, or choose CodeLab runner. Save, and open any page with a CodeLab example.
The trial needs a Moodle site that can be reached from the internet at its https address, because the trial server checks the request with the site. For a site inside a school network, write to support@codelabedu.com and we send a key by e-mail.
With a connection key
After you subscribe you get a connection key by e-mail. Paste it into Connection key in the same section and save. It sets the address, the secret and the site id of your site; the address and the secret of an own runner are then not used.
Test the connection
On the same settings page, click Test the servers, then Run the test. For each language you see its version and a small program that must print 42, and a benchmark of 10 programs sent at once. The test uses about 20 runs of your quota. The box Usage of the hosted runner shows the plan, the runs of this month, the editor sessions and quiz grading apart, and the days left.
Keeping your Jobe server
Choose Automatic: questions are graded on your Jobe server, while the editor, the step-by-step debugger, the memory view and SQL use CodeLab Cloud. If your Jobe server cannot be reached, runs go to the Cloud. Grades are the same: the Cloud uses the compilers and options of a Jobe server of the CodeLab plugins, and 1,416 tests of real courses gave the same result on both.
Problems
The trial server could not confirm the request
The trial server opens /lib/editor/tiny/plugins/codelab/trialcheck.php on your site. Make sure the site
is public at its https address and that no login page or firewall blocks this one file.
This site has already had a trial
Each site address gets one trial. Choose a plan on the pricing page, or write to us if you moved your site.
The box is yellow or red
Yellow: 80 % of the runs of the month are used, or the plan ends within a week. Red: the plan is over its runs, suspended or expired. There is a 10 % buffer above the quota; after it, quiz answers are kept for the teacher to grade by hand, never graded as wrong.
Students are told that the server is busy
Your plan allows a number of programs at the same time (10 in the trial). A larger plan raises it; runs for grading wait their turn instead.