From 75f6949e9bc2b0fb9c46efd3376635e55773aa2a Mon Sep 17 00:00:00 2001 From: Ann-Marie Aeronuwy Francoise Revillard Date: Thu, 6 Mar 2025 09:58:08 +0100 Subject: [PATCH] Update README.md --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index 3dce3ce..32fa769 100644 --- a/README.md +++ b/README.md @@ -186,3 +186,37 @@ Add some categories and you should be all set. ## Assumptions The file .env would normally not be uploaded together with the code since that is bad practice allowing for sensitive data exposure. The file is however essential to run the application, and needs to stay where it is. If any other secret values needs to be stored 'outside' the code repository, this is where it should be put. If you use a different file, it should still be added to the repository, but you should state it here as an assumption. + + + +-------- + +## Terminal: +Connect Using SSH: +```console +ssh @tdt4242-.idi.ntnu.no +``` + +```console +--------------------------- VM for øvinger i TDT4242 --------------------------- +Du har sudo tilgang og kan selv installere det du trenger. Docker er installert, +bruk sudo usermod -aG docker for å legge brukere inn i +docker-gruppen. Det tas ikke backup av VMen, men du har tilgang til NTNU +hjemmekatalog under ~/ntnuhome (symlink) og kan ta backup dit (bruk f.eks rsync) + +Pakker merket som sikkerhetsoppdatering installers automatisk. Andre +oppdatering kan installeres med sudo unatt-upgrade [-r] +Sjekk med: apt list --upgradable + +VMen slettes en tid etter at (vår)semesteret er over. +-------------------------------------------------------------------------------- +``` + +Add your user to the docker group: +```console +sudo usermod -aG docker +``` + +```console +cd ~/ntnuhome +```