Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc47c6f

Browse files
committedAug 6, 2024··
clarify no submissions only works from scratch
1 parent 7a391eb commit cc47c6f

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed
 

‎_docs/developer/getting_started/vm_install_using_vagrant.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -316,50 +316,60 @@ operating system.
316316
users in the sample courses.*
317317
318318
319-
* **Build without sample submissions**
319+
* **Build from scratch without sample submissions**
320320
321321
If your development work *will not require sample assignment
322322
submissions or autograding results*, you may prepend
323323
`NO_SUBMISSIONS=1` to the previous command, which will skip the
324324
creation of these sample submissions and their autograding and
325325
decrease the time to complete installation.
326326
327+
* On Linux or Intel-based Mac:
328+
```
329+
NO_SUBMISSIONS=1 FROM_SCRATCH=1 vagrant up --provider=virtualbox
330+
```
327331
328-
* On Mac or Linux:
332+
* On M-series ARM Mac:
329333
```
330-
NO_SUBMISSIONS=1 vagrant up --provider=...
334+
NO_SUBMISSIONS=1 vagrant up --provider=qemu
331335
```
332336
333-
* Or on Windows using `cmd`:
337+
* On Windows using `cmd`:
334338
```
335339
SET NO_SUBMISSIONS=1
336-
vagrant up --provider=...
340+
SET FROM_SCRATCH=1
341+
vagrant up --provider=virtualbox
337342
```
338343
339-
Or on Windows using PowerShell, you will have to set the environment variable differently:
344+
On Windows using PowerShell, you will have to set the environment variables differently:
340345
```pwsh
341346
$Env:NO_SUBMISSIONS=1
347+
$Env:FROM_SCRATCH=1
342348
vagrant up
343349
```
344350
345-
If you want to unset the variable later in `cmd`, you can do:
351+
If you want to unset the variables later in `cmd`, you can do:
346352
```
347353
SET NO_SUBMISSIONS=
354+
SET FROM_SCRATCH=
348355
```
349356
350357
Or in PowerShell:
351358
```pwsh
352359
Remove-Item Env:\NO_SUBMISSIONS
360+
Remove-Item Env:\FROM_SCRATCH
353361
```
354362
355-
Similarly, you can check that the variable is set by doing:
363+
Similarly, you can check that the variables are set in `cmd` with:
356364
```
357365
SET NO_SUBMISSIONS
366+
SET FROM_SCRATCH
358367
```
359368
360369
Or in PowerShell:
361370
```pwsh
362371
$Env:NO_SUBMISSIONS
372+
$Env:FROM_SCRATCH
363373
```
364374
365375

0 commit comments

Comments
 (0)
Please sign in to comment.