Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amrevill authored and GitHub Enterprise committed Mar 6, 2025
1 parent e7fa863 commit 75f6949
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your-ntnu-username>@tdt4242-<Group Nr>.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 <brukernavn> 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 <your-ntnu-username>
```

```console
cd ~/ntnuhome
```

0 comments on commit 75f6949

Please sign in to comment.