sankalp 4764865ec2 chore(.github): add Django CI workflow
- New Features
  - Added CI pipeline that runs on push and pull‑request to main and develop, including PostgreSQL service for integration tests.  - Enhancements
  - Integrated linting (ruff), formatting check, migration validation, and security scanning with Django’s --deploy flag.
- Bug Fixes
  - (none)
2026-05-27 23:15:21 +05:45
2026-05-27 23:12:02 +05:45

.

A Django project folder structure is generated with djinitx/djinit/dj.

Features

  • Modern project structure with environment-specific settings
  • Pre-configured REST API with JWT authentication
  • Essential dependencies and utilities
  • Production-ready configuration

Setup

  1. Set environment variables in .env file

  2. Run setup (installs dependencies, runs migrations, creates superuser):

    just setup
    
  3. Start development server:

    just dev
    

Traditional Method

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Set environment variables in .env file

  3. Run migrations:

    python manage.py migrate
    
  4. Create superuser:

    python manage.py createsuperuser
    
  5. Start development server:

    python manage.py runserver
    

Available Commands

Run just to see all available commands, including:

  • just dev - Run development server
  • just migrate - Run migrations
  • just makemigrations - Create migrations
  • just createsuperuser - Create superuser
  • just test - Run tests
  • just lint - Lint code
  • just format - Format code
  • just shell - Django shell
  • just clean - Clean cache files
  • just install <package> - Install package
  • just remove <package> - Remove package
  • just server - Run production server
  • just ci - Run all linting and checks
  • just test-coverage - Run tests with coverage

Project Structure

./
├── apps/
│   ├── admin/
│   │   └── __init__.py
│   ├── api/
│   │   ├── __init__.py
│   │   ├── urls.py
│   │   └── v1/
│   │       ├── __init__.py
│   │       └── urls.py
│   ├── models/
│   │   └── __init__.py
│   ├── serializers/
│   │   └── __init__.py
│   ├── tests/
│   │   └── __init__.py
│   ├── urls/
│   │   └── __init__.py
│   └── views/
│       └── __init__.py
├── core/
│   ├── asgi.py
│   ├── __init__.py
│   ├── settings/
│   │   ├── base.py
│   │   ├── development.py
│   │   ├── __init__.py
│   │   └── production.py
│   ├── urls.py
│   └── wsgi.py
├── manage.py
├── requirements.txt
├── pyproject.toml
├── uv.lock
├── .env.sample
├── justfile
├── Procfile
├── runtime.txt
└── README.md

API Documentation

When running in development mode, API documentation is available at:

S
Description
A full-featured, open-source project management system built with Django
Readme
828 KiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 66.1%
Python 33.1%
Just 0.6%
JavaScript 0.1%
Dockerfile 0.1%