Skip to content

Commit

Permalink
clarify no submissions only works from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
skara9 committed Aug 6, 2024
1 parent 7a391eb commit cc47c6f
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions _docs/developer/getting_started/vm_install_using_vagrant.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,50 +316,60 @@ operating system.
users in the sample courses.*
* **Build without sample submissions**
* **Build from scratch without sample submissions**
If your development work *will not require sample assignment
submissions or autograding results*, you may prepend
`NO_SUBMISSIONS=1` to the previous command, which will skip the
creation of these sample submissions and their autograding and
decrease the time to complete installation.
* On Linux or Intel-based Mac:
```
NO_SUBMISSIONS=1 FROM_SCRATCH=1 vagrant up --provider=virtualbox
```
* On Mac or Linux:
* On M-series ARM Mac:
```
NO_SUBMISSIONS=1 vagrant up --provider=...
NO_SUBMISSIONS=1 vagrant up --provider=qemu
```
* Or on Windows using `cmd`:
* On Windows using `cmd`:
```
SET NO_SUBMISSIONS=1
vagrant up --provider=...
SET FROM_SCRATCH=1
vagrant up --provider=virtualbox
```
Or on Windows using PowerShell, you will have to set the environment variable differently:
On Windows using PowerShell, you will have to set the environment variables differently:
```pwsh
$Env:NO_SUBMISSIONS=1
$Env:FROM_SCRATCH=1
vagrant up
```
If you want to unset the variable later in `cmd`, you can do:
If you want to unset the variables later in `cmd`, you can do:
```
SET NO_SUBMISSIONS=
SET FROM_SCRATCH=
```
Or in PowerShell:
```pwsh
Remove-Item Env:\NO_SUBMISSIONS
Remove-Item Env:\FROM_SCRATCH
```
Similarly, you can check that the variable is set by doing:
Similarly, you can check that the variables are set in `cmd` with:
```
SET NO_SUBMISSIONS
SET FROM_SCRATCH
```
Or in PowerShell:
```pwsh
$Env:NO_SUBMISSIONS
$Env:FROM_SCRATCH
```
Expand Down

0 comments on commit cc47c6f

Please sign in to comment.