Skip to content

Code for the final projet of the advanced programming course. Academic year 2022/2023

License

Notifications You must be signed in to change notification settings

civts/advanced-programming

Repository files navigation

🦀 Advanced Programming Course Project 🦀

Setup

Dependencies

If you use nix, a flake is here for you. Activate the environment with direnv allow and you will get the right versions of everything and a VScode already configured with all the extensions.

Otherwise, you will need the following:

  • rustup (v1.25.1)
  • cargo (v1.64.0)
  • rustfmt (v1.5.1-stable)
  • Your code editor of choice
    • If you use VScode, we suggest you to install these extensions so that you can use our launch configurations (when you open the directory, you will get an automatic prompt to install them in one click):
      • rust-lang.rust-analyzer
      • vadimcn.vscode-lldb

Connect to the VPN

  1. Ping advancedprogramming.disi.unitn.it. This should fail since you'll need to connect to University of Trento's VPN to access advancedprogramming.disi.unitn.it

  2. Open the GlobalProtect VPN client by running sudo gpclient (be sure to follow the setup instructions from the official repo)

  3. Enter as portal address vpn.icts.unitn.it

  4. The username is your unitn email without the "studenti" subdomain -e.g., [email protected]-

  5. The password is your unitn password

  6. The VPN will show the status 'Connected'.

  7. Now you should be able to successfully ping advancedprogramming.disi.unitn.it

Add your auth token to be able to fetch from Kellnr

  1. Create a file .env with the same contents of .env.sample (to do so, you can run cp .env.sample .env).

  2. Add the token you have received by mail from [email protected] in date 20/10/22 in the .env.

  3. Note that previously active shells/terminal emulators may not pick up automatically the new environment variable and you may need to restart them.

  4. cd in a crate and run a cargo update to confirm you have access to kellnr.

About

Code for the final projet of the advanced programming course. Academic year 2022/2023

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages