This is a version of the DjangoGirls tutorial (https://tutorial.djangogirls.org/en/).
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/
After installing VirtualBox, add VirtualBox to the Windows path. One way to do this is to launch PowerShell as administrator and then run this command:
[Environment]::SetEnvironmentVariable("Path", "C:/Program Files/Oracle/VirtualBox;" + $env:Path, "Machine")
After installing Vagrant make sure to install the Vagrant VirtualBox Guest manager:
vagrant plugin install vagrant-vbguest
The dependencies are stored in requirements.txt
. This project uses hashin to make dependency managment more secure and still simple to use.
To add a new package to the dependencies (or update one) use:
hashin "<package-name>==<version-number>" --algorithm=sha512 --verbose --python-version $(python3 --version | cut -d' ' -f2 | cut -d'.' -f1-2)
After the dependency is found and added to the requirements, verify the hash is correct before installing or commiting the requirements change!
Then to install the dependencies use:
pip install --require-hashes -r requirements.txt