Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ CELERY_TASK_ALWAYS_EAGER=false
DJANGO_SUPERUSER_USERNAME=admin
DJANGO_SUPERUSER_EMAIL=admin@example.com
DJANGO_SUPERUSER_PASSWORD=adminpass

NEWSLETTER_API_BASE_URL=http://127.0.0.1:8080
NEWSLETTER_API_USERNAME=admin
NEWSLETTER_API_PASSWORD=adminpass
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ updates:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/frontend"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
groups:
frontend-dependencies:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [python, actions]
language: [python, javascript-typescript, actions]

steps:
- name: Checkout repository
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ jobs:
cache: pip
cache-dependency-path: requirements.txt

- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
cache: npm
cache-dependency-path: frontend/package-lock.json

- name: Install just
uses: extractions/setup-just@v4

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
run: just install

- name: Install pre-commit hooks
run: pre-commit install --install-hooks
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ jobs:
cache: pip
cache-dependency-path: requirements.txt

- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
cache: npm
cache-dependency-path: frontend/package-lock.json

- name: Install just
uses: extractions/setup-just@v4

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
run: just install

- name: Run tests
run: just test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ __pycache__/
.venv/
venv/
.env
frontend/.env.local
celerybeat-schedule*
db.sqlite3
staticfiles/
frontend/.next/
frontend/node_modules/

docs/
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ repos:
entry: just lint
language: system
pass_filenames: false
- id: just-test
name: just test
entry: just test
language: system
pass_filenames: false
Binary file modified celerybeat-schedule
Binary file not shown.
Loading
Loading