8000 POC: restructure app by JacobCoffee · Pull Request #2573 · python/pythondotorg · GitHub
[go: up one dir, main page]

Skip to content

POC: restructure app #2573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
8000
Diff view
Prev Previous commit
Next Next commit
fix: use new path ?
  • Loading branch information
JacobCoffee committed Sep 19, 2024
commit 4695fc65c68adfb7e8bf9dfc402ca5ee17801c0c
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
pip install -r requirements/requirements.txt -r requirements/prod-requirements.txt
- name: Run Tests
run: |
DJANGO_SETTINGS_MODULE=pydotorg.settings.static python ./app/manage.py collectstatic --noinput
DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python ./app/manage.py collectstatic --noinput
2 changes: 1 addition & 1 deletion Dockerfile.cabotage
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN --mount=type=cache,target=/root/.cache/pip \
install \
-r requirements.txt -r prod-requirements.txt
COPY . /code/
RUN DJANGO_SETTINGS_MODULE=pydotorg.settings.static python app/manage.py collectstatic --noinput
RUN DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python app/manage.py collectstatic --noinput
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- "8000:8000"
environment:
DATABASE_URL: postgresql://pythondotorg:pythondotorg@postgres:5432/pythondotorg
DJANGO_SETTINGS_MODULE: pydotorg.settings.local
DJANGO_SETTINGS_MODULE: app.pydotorg.settings.local
depends_on:
postgres:
condition: service_healthy
Expand All @@ -46,7 +46,7 @@ services:
- .:/code
environment:
DATABASE_URL: postgresql://pythondotorg:pythondotorg@postgres:5432/pythondotorg
DJANGO_SETTINGS_MODULE: pydotorg.settings.local
DJANGO_SETTINGS_MODULE: app.pydotorg.settings.local
depends_on:
postgres:
condition: service_healthy
Expand Down
Loading
0