mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 07:32:12 +01:00
Add configuration and scripts for linting, testing, and dependency management
- Introduced .pre-commit-config.yaml for pre-commit hooks using uv-pre-commit. - Created lint.sh script to run Ruff and Black for linting and formatting. - Added test.sh script to execute tests with coverage reporting. - Configured .uv file for uv settings including lockfile management and dependency resolution. - Updated Makefile with targets for virtual environment setup, dependency installation, linting, testing, formatting, and database migrations. - Established requirements.txt with main and development dependencies for the project.
This commit is contained in:
@ -16,6 +16,7 @@ services:
|
||||
- DEBUG=0
|
||||
- SECRET_KEY=your_secret_key_here
|
||||
- ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
- DJANGO_SETTINGS_MODULE=dashboard_project.settings
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
@ -27,6 +28,8 @@ services:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=dashboard_db
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
|
||||
Reference in New Issue
Block a user