Skip to content
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

A logged-in member can view their dues amount. #11

Merged
14 commits merged into from
Dec 22, 2023
34 changes: 30 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"name": "DSA - ActionKit Templates",
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
"postCreateCommand": "pip install -e .",
"postAttachCommand": "pip install -e .",
"containerEnv": {
"DJANGO_SETTINGS_MODULE": "dsa_actionkit.settings"
"DJANGO_SETTINGS_MODULE": "dsa_actionkit.settings",
"ROOT_URLCONF": "dsa_actionkit.urls",
"DJANGO_SECRET_KEY": "solidarityforever"
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"tamasfe.even-better-toml",
"samuelcolvin.jinjahtml",
"batisteo.vscode-django"
"batisteo.vscode-django",
"charliermarsh.ruff",
"eamodio.gitlens",
"GitHub.vscode-github-actions",
"tamasfe.even-better-toml",
"esbenp.prettier-vscode",
"redhat.vscode-yaml"
]
},
"settings": {
Expand All @@ -23,5 +31,23 @@
"editor.defaultFormatter": "samuelcolvin.jinjahtml",
"editor.formatOnSave": true
},
"python.terminal.activateEnvInCurrentTerminal": true,
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll.ruff": true,
"source.organizeImports.ruff": true
},
"editor.defaultFormatter": "charliermarsh.ruff"
},
"python.testing.cwd": "tests",
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.stickyScroll.enabled": true,
"dbt.enableNewLineagePanel": true,
"files.insertFinalNewline": true,
"terminal.integrated.environmentChangesIndicator": "on"
}
}
}
}
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI


on:
push:
branches:
- main
pull_request:
branches:
- main


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install packages
run: |
pip install .
- name: Run Tests
run: |
pytest
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ site.css.map
build
.venv
dist
*.egg-info
*.egg-info
db.sqlite
1 change: 1 addition & 0 deletions dsa_actionkit/aktemplates.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
import sys

#STATIC_FALLBACK="/static/js/fallback_local" PYTHONPATH=./djanger django-admin runserver --settings=settings


Expand Down
Loading
Loading