Now with Docker Support!#18
Open
Saketh-Chandra wants to merge 50 commits intodennisivy:masterfrom
Open
Conversation
aravindvnair99
suggested changes
Aug 22, 2021
Edited added the host GitHub repo! Co-authored-by: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>
Updated the Docker! - Maintainer edited Co-authored-by: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>
Snyk has created this PR to upgrade @testing-library/user-event from 12.6.0 to 12.8.3. See this package in npm: https://www.npmjs.com/package/@testing-library/user-event See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade @testing-library/jest-dom from 5.11.6 to 5.14.1. See this package in npm: https://www.npmjs.com/package/@testing-library/jest-dom See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade react-bootstrap from 1.4.0 to 1.6.1. See this package in npm: https://www.npmjs.com/package/react-bootstrap See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade @testing-library/react from 11.2.2 to 11.2.7. See this package in npm: https://www.npmjs.com/package/@testing-library/react See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade react-redux from 7.2.2 to 7.2.4. See this package in npm: https://www.npmjs.com/package/react-redux See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
…282a8ae8f5c5342727 [Snyk] Upgrade @testing-library/user-event from 12.6.0 to 12.8.3
…2507f7ea34efae93e1 [Snyk] Upgrade @testing-library/jest-dom from 5.11.6 to 5.14.1
…af8f844889377b5e6c [Snyk] Upgrade react-bootstrap from 1.4.0 to 1.6.1
…be18dbe6d2f6aecf61 [Snyk] Upgrade react-redux from 7.2.2 to 7.2.4
Snyk has created this PR to upgrade redux from 4.0.5 to 4.1.1. See this package in npm: https://www.npmjs.com/package/redux See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade react-scripts from 4.0.1 to 4.0.3. See this package in npm: https://www.npmjs.com/package/react-scripts See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade:
- react from 17.0.1 to 17.0.2.
See this package in npm: https://www.npmjs.com/package/react
- react-dom from 17.0.1 to 17.0.2.
See this package in npm: https://www.npmjs.com/package/react-dom
See this project in Snyk:
https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade redux-devtools-extension from 2.13.8 to 2.13.9. See this package in npm: https://www.npmjs.com/package/redux-devtools-extension See this project in Snyk: https://app.snyk.io/org/sakethchandra/project/7e700caa-442a-422b-a10b-4d1e0bcaa16a?utm_source=github&utm_medium=upgrade-pr
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443
…nerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1066259 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1076802 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1090612 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1279042 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1290072 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298665 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298666 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1315688 - https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-1584201
In the backend server by mistakenly open the `Port: 8000` to host, we can fix it by doing `port` to `expose`.
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1727377
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329158 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329159 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329160 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2329135
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331901 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331905 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331907
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1066259 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1076802 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1090612 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1279042 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1290072 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298665 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298666 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1315688 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2312875 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329158 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329159 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2329160 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2389002 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-2389021 - https://snyk.io/vuln/SNYK-PYTHON-DJANGOFILTER-1013846 - https://snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-1090569 - https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055461 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055462 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1059090 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080635 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080654 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081494 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081501 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081502 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082329 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082750 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090584 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090586 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090587 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090588 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1292150 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1292151 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1316216 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1727377 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2329135 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331901 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331905 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331907 - https://snyk.io/vuln/SNYK-PYTHON-PYLINT-1089548 - https://snyk.io/vuln/SNYK-PYTHON-PYLINT-609883 - https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-1584201 - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-1533435
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2397241
…5b33bf4b9577fc9efe [Snyk] Upgrade @testing-library/react from 11.2.2 to 11.2.7
…d7e097645b04c35b37 [Snyk] Upgrade redux from 4.0.5 to 4.1.1
…c2862690110e42ae30 [Snyk] Upgrade react-scripts from 4.0.1 to 4.0.3
…41a51f672538cc6650 [Snyk] Upgrade: react, react-dom
…03f936b5a4c8c63607 [Snyk] Upgrade redux-devtools-extension from 2.13.8 to 2.13.9
…802f0dabd5392be [Snyk] Security upgrade pillow from 8.0.1 to 8.3.2
…e34cc88b159de13 [Snyk] Security upgrade axios from 0.21.1 to 0.21.3
…e458b4585b3ac99 [Snyk] Fix for 9 vulnerabilities
…8a42ee3cfcbee2f [Snyk] Security upgrade sqlparse from 0.3.1 to 0.4.2
…e400d452443a000 [Snyk] Security upgrade pillow from 8.0.1 to 8.3.2
…b5a53c08c09062b [Snyk] Fix for 4 vulnerabilities
…960bc1d045bdbd2 [Snyk] Security upgrade pillow from 8.0.1 to 9.0.0
…6fa99d43a1218a4 [Snyk] Fix for 44 vulnerabilities
…a4165177d12767b [Snyk] Security upgrade pillow from 8.0.1 to 9.0.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🐳 Using Docker Compose
In production, Django uses a WSGI server such as Gunicorn and a web server such as Nginx.
Architecture:
Request Flow Diagram
⚙️ Setup .env file
Edit the .env file
Usage
git clone https://github.com/Saketh-Chandra/proshop_django.git cd proshop_django docker-compose up --buildRun services in the background:
docker-compose up -dRun services in the foreground:
docker-compose up --buildInspect volume:
docker volume lsand
docker volume inspect proshop_django_staticfilesView networks:
docker network lsBring services down:
docker-compose downFuture Scope of Project ✔️