Configuration of CodeGradXagent for VMauthor.
Last updated a year ago by cq .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install codegradxvmauthor 
SYNC missed versions from official npm registry.


CodeGradX is a grading infrastructure

  • where students submit programs to solve exercises and these programs are mechanically graded,
  • where authors deploy exercises and propose them to students,
  • where teachers may follow the progress of a cohort of students.

The CodeGradX infrastructure is operated via REST protocols. To ease its use, CodeGradXlib is a Javascript Library that provides a programmatic API to operate the CodeGradX infrastructure. This library is contained in the codegradxlib Node module and can be operated from a browser.

CodeGradX may also be operated from command line using the codegradxagent Node module. By default, codegradxlib is configured to use the real constellation of CodeGradX servers howwver authors may use a virtual machine, named VMauthor , to write and check their exercises with their own computing resources. The new codegradxvmauthor Node module reconfigures codegradxlib to use this virtual machine.

To sum up: this module is the configuration of CodeGradXagent for VMauthor. See also a more detailed documentation of codegradxagent Node module.


npm install codegradxvmauthor

When VMauthor runs, you should memorize the IP number attributed to that VM, this is required to access the VM. You may alternatively enrich your /etc/hosts file and add a line defining to be that IP number. Something like  vmauthor

If this hostname is not defined, you should use the --ip= option in your invocations of the codegradxvmauthor script.


You may access the VMauthor virtual machine when browsing http://vmauthor/, interactively submit new exercises and test them as a student. However you may also prefer to script these interactions in which case, your script requires some credentials to access VMauthor.


Credentials are JSON files that may be fetched from VMauthor. These files define a user name and a cookie (valid a few hours):

wget -O fw4ex-author.json   http://vmauthor/fw4exjson/0
wget -O fw4ex-student1.json http://vmauthor/fw4exjson/1

After getting these credentials you may use them with the --credentials=fw4ex-author.json or --credentials=fw4ex-student1.json option. Credentials are limited in time so you may additionally specify --update-credentials to refresh your credentials.


Students may submit answers to exercises. Only authors may create new exercises and mark batches of students' answers. See directory shtests/ for examples of use.

Current Tags

  • 1.0.18                                ...           latest (a year ago)

18 Versions

  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)

Copyright 2014 - 2016 © |