Skip to content

Commit 252fbfa

Browse files
authored
v0.22 features and bugfixes (#313)
1 parent 4802485 commit 252fbfa

31 files changed

Lines changed: 286 additions & 557 deletions

Dockerfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
# FROM ghcr.io/linuxserver/baseimage-alpine:3.20
2-
FROM python:3.11.9-alpine3.20
1+
# BUILD COMMAND:
2+
# docker build . --no-cache -t conreq
3+
# mkdir config
4+
# RUN COMMAND (Windows):
5+
# docker run -p '7575:7575/tcp' -v $PWD/config:/config conreq
6+
# RUN COMMAND (Linux/Mac):
7+
# docker run -p '7575:7575/tcp' -v $(pwd)/config:/config conreq
8+
FROM python:3.12.12-alpine3.21
39

410
ENV DATA_DIR=/config DEBUG=False
511

@@ -41,7 +47,9 @@ RUN \
4147
&& \
4248
echo "**** Install Python dependencies ****" \
4349
&& \
44-
pip3 install --no-cache-dir -U -r /app/conreq/requirements/main.txt \
50+
pip3 install uv \
51+
&& \
52+
uv pip install --system --no-cache-dir -U -r /app/conreq/requirements/main.txt \
4553
&& \
4654
echo "**** Cleanup ****" \
4755
&& \

conreq/asgi.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
ASGI config for Conreq project.
33
44
It exposes the ASGI callable as a module-level variable named ``application``.
5-
6-
For more information on this file, see
7-
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
85
"""
6+
97
# pylint: disable=wrong-import-position
108
from django.core.asgi import get_asgi_application
119
from django.urls import path

conreq/core/api/__init__.py

Whitespace-only changes.

conreq/core/api/admin.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

conreq/core/api/apps.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

conreq/core/api/migrations/__init__.py

Whitespace-only changes.

conreq/core/api/models.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

conreq/core/api/permissions.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

conreq/core/api/serializers.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

conreq/core/api/urls.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)