Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN pip install --upgrade pip setuptools wheel
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Install development dependencies
RUN uv pip install --system --no-cache -r requirements-dev.txt

# Make port 8000 available to the world outside this container
EXPOSE 8000

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ _from within edubadges-server directory_

- `pip install -r requirements.txt`

if on a mac mysqlclient does not build, try:
For development, also install development dependencies:
- `pip install -r requirements-dev.txt`

if on a mac mysqlclient does not build, try:
```
LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysqlclient
```
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Development dependencies
django-stubs==5.1.3 # 5.x is mostly backwards compatible with Django 4.2, see https://github.com/typeddjango/django-stubs/discussions/2101.
django-stubs-ext==5.1.3
djangorestframework-stubs==3.15.3
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ drf_spectacular_sidecar==2025.2.1

django-object-actions==4.3.0

pymemcache==4.0.0
pymemcache==4.0.0

djangorestframework==3.15.2
django-filter==25.1
Expand Down
Loading