Skip to content

Commit

Permalink
chore(deps): Add django-debug-toolbar to base.txt for development and…
Browse files Browse the repository at this point in the history
… test server
  • Loading branch information
drikusroor committed Feb 5, 2024
1 parent 80535e3 commit b2a17ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ COPY requirements/prod.txt /server/
RUN pip install -r prod.txt

# We add remainig code later, so pip install won't need to rerun if source code changes
COPY . /server/

# Add the dev tools if AML_DEBUG is set to true
RUN if [ "$AML_DEBUG" = "true" ] ; then pip install django-debug-toolbar ; fi
COPY . /server/
3 changes: 3 additions & 0 deletions backend/requirements.in/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ coverage

# Generate a code coverage badge
genbadge[coverage]

# Debug toolbar for development (and test server)
django-debug-toolbar
3 changes: 0 additions & 3 deletions backend/requirements.in/dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
-r base.txt

# Debug toolbar for development
django-debug-toolbar

# Codebase checker
pylint

Expand Down

0 comments on commit b2a17ad

Please sign in to comment.