Update devcontainer docs (#6085)

- Much better performance running from WSL filesystem
This commit is contained in:
Oliver 2023-12-14 16:53:09 +11:00 committed by GitHub
parent 17068ca5a2
commit cd3e7037c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,3 +101,11 @@ Make sure you have `gnupg` and `pinentry-mac` installed and set up correctly. Re
#### Where are the database, media files, ... stored?
Backups, Commandhistory, media/static files, venv, plugin.txt, secret_key.txt, ... are stored in the `dev` folder. If you want to start with a clean setup, you can remove that folder, but be aware that this will delete everything you already setup in InvenTree.
### Performance Improvements
If you are running a devcontainer in Windows, you may experience some performance issues - particularly related to file system operations.
For a significant improvement in performance, the source code should be installed into the **WSL 2** filesystem (not on your "Windows" filesystem). This will greatly improve file access performance, and also make the devcontainer much more responsive to file system changes.
You can also refer to the [Improve disk performance guide](https://code.visualstudio.com/remote/advancedcontainers/improve-performance) for more information.