-
The development guide is outdated and does will not work with commits past 488b11d due to changes with the Dockerfile
- It is still present in the repo, as some sections such as the docker buildx section and basic info on docker operations are still useful
-
Please read the development guide- The Docker Buildx guide has been moved to the development guide
- This guide assumes you have installed vscode on your system
-
Install Microsoft's Remote Development extension for vscode
-
You may also need the Docker vscode extension if not already installed
-
After reloading vscode, you should be prompted to open this repo in a dev-container after opening the Shoe-Expert folder in vscode
- Note that you only want to run the repo inside of a docker container if you need to edit and test functionality of the django app, otherwise the dev-container is unneeded
-
The container will automatically spawn a site running on port 8000 that you can access in the browser at localhost:8000
If you have a more complicated docker set-up, such as using docker in rootless mode, you can refer to the discussion in pr #28 or open up an issue in this repo if this workflow is not working correctly on your system.
-
Success
-
Docker Container Not Detected (checks that python is PID 1)
-
createDockerAdminUser script failed (could not create superuser docker)
-
Failed to import shoe data from csv into postgres db
-
Failed to execute tests
-
Failed to generate coverage report
-
Failed to compute McCabe's Cyclomatic Complexity of Functions in
views.py