-
Notifications
You must be signed in to change notification settings - Fork 10
v1.0.0 Assignment Submission using autolab CLI
Prasad Talasila edited this page Apr 23, 2018
·
1 revision
Please follow the instructions given below to submit labs to autolab software.
- Open a bash shell terminal in Ubuntu 16.04 x86_64 operating system.
- Install node.js and npm packages using the tutorial to install node v6.x. The node installation also installs a matching npm tool.
- Install autolabcli software using the command,
$npm install -g @autolabjs/autolabcli
- Configure git with user details.
You only have to enter the user information once per system.'
$ git config --global user.name "John Doe" $ git config --global user.email [email protected]
- Create a lab directory matching the lab name. For example, if you are doing lab1, then create a directory named lab1.
$mkdir -p lab1/java
- Enter the directory.
$cd lab1
- Initialize the directory as git repository and login to autolab system.
you will be asked to enter your GitLab username and password. These credentials will be securely stored in the local computer and will be valid for 120 minutes.
$autolab init
- Create a git repository with lab name.
you will be asked for the name of the repository on the GitLab. Please make sure that the name entered here matches with your directory name and with the lab name on https://autolab.bits-goa.ac.in:9000.
$autolab git create
- Add you code files from BlueJ/Eclipse into the lab1/java directory. Please follow proper directory structure for code submissions. All java code files must follow appropriate package structure as well.
- Commit changes to the repository.
you will be prompted for a commit message. For the benefit of your future self, give a meaningful commit message.
$autolab git push
- The default submission language is
java
. If you wish, you can change programming language choice of an eval using the script$ autolab prefs changelang
- Submit for evaluation
$autolab submit
- Erase your credentials from local computer.
$autolab exit
- Autolabcli v1.0.0 Docs
- Submission Workflow
- Architecture
- Refactoring Advice
- Feature Development
- Autolabcli Tests
- Events Doc
- Sequence Diagrams
- Testing in Javascript
- Libraries
- Debug Techniques
- Arrow Functions
- Autolabcli v0.1.1 Docs
- References