📘 Sistema Consegna Esami (SCE) is an extension for VS Code / VSCodium to simplify handling exam projects for computer science courses at DIETI, Università degli Studi di Napoli Federico II.
- ✅ Upload your exam project files as a
.zipfile to the university server - ✅ Download the exam project files directly into student's workspace
- ✅ Manage backend server host from the sidebar or Command Palette
If you're using VS Code:
code --install-extension sce-unina-0.0.x.vsixFor VSCodium, use:
codium --install-extension sce-unina-0.0.x.vsixReplace
0.0.xwith your actual version number.
The extension can be also installed by searching it from the list of public extensions.
Open a terminal/prompt, go to backend folder and run the server (sce_unina_server.py):
$ cd sce-unina/backend
$ python sce_unina_server.py
By default, sce_unina_serveris listening on 0.0.0.0:5001 and all the exam files should be put under backend/download dir.
Each file under the download directory can be downloaded by the student. So, you can organize the download dir with the exam files like in the following:
teacher1.zip
teacher2.zip
...
You can change the default server host and port as follows:
python sce_unina_server.py --host 192.168.3.51 --port 8080
-
Tab ESAME:
- 📤 CONSEGNA compito, to upload your exam project. Fill up the info when requested.
- 📥 SCARICA file compito, to download the exam files into the working directory.
-
Tab CONNESSIONE:
- Configura macchina docente allows students to configure the backend IP address, e.g.:
http://127.0.0.1:5001- Connetti alla macchina docente allows students to connect with the backend
npm install -g @vscode/vscenpm install
npm run compile
code .Use F5 to open a new Extension Development Host.
vsce packageThis generates a .vsix file for distribution.
Use ovsx publish for VSCodium or vsce publish for VSCode.
To run the tests:
npm run testMIT License
Luigi De Simone, Assistant Professor @DIETI, Università degli Studi di Napoli Federico II.