Move Playwright, Docker, and package.json into examples/django-react-site

Root directory now contains only the two core packages (django/, react/),
examples/, and top-level docs. All e2e/integration test infrastructure
lives in examples/django-react-site/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 21:04:51 -04:00
parent eee352d908
commit f3c225ef49
7 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,21 @@
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Install mizan from local source with channels support
COPY django/ /app/django/
RUN pip install --no-cache-dir /app/django[channels] daphne
# Copy example app
COPY examples/django-react-site/backend/ /app/example/
WORKDIR /app/example
EXPOSE 8000
CMD ["sh", "-c", "python manage.py migrate --run-syncdb && daphne -b 0.0.0.0 -p 8000 testapp.asgi:application"]