2521-docker-image

COMP2521 Docker Image

View the project on GitHub.

This is an experimental docker image for COMP2521, intended to allow students to complete their work locally.

Setup

See the documentation.

Usage

Starting the environment

Run the 2521-up command.

Connecting to the environment (command line)

Run the 2521-sh command.

Connecting to the environment (VS Code)

Run the 2521-code command.

To get the best editor experience, it is recommended to install a few VS Code extensions within the container:

Shutting down the environment

Run the 2521-down command. It is recommended to shut down the environment when it is not in use to reduce energy consumption.

Updating the environment

Run the 2521-update command. This will rebuild the image after using Git to pull changes.

Fetching starter code from CSE

Within the environment, use the cse-fetch command alongside the path to the .zip file to download. It will be downloaded and extracted to a directory named starter_code within your current directory.

Uploading work to CSE

Within the environment, use the cse-push command to upload the contents of the current directory to CSE. It will be placed within /home/${ZID}/2521-push/${curr_dir}.

Connecting to CSE from the environment

You can start an SSH session by running the cse command.

How it works

Access to CSE systems

Storing work

Uninstalling

Run 2521-uninstall and follow its prompts.