{"id":23045576,"url":"https://github.com/aliabbascheema/dev_ops_practicals","last_synced_at":"2025-06-25T07:05:27.154Z","repository":{"id":266604354,"uuid":"898817076","full_name":"aliabbascheema/dev_ops_practicals","owner":"aliabbascheema","description":"The application serves as a comprehensive demonstration of version control practices using GitHub and GitHub Actions. It emphasizes the implementation of foundational and advanced DevOps workflows in a real-world setting.","archived":false,"fork":false,"pushed_at":"2024-12-05T11:14:14.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T12:44:35.173Z","etag":null,"topics":["automated-testing","container","devops","django","docker","git-actions","git-version-control","workflow"],"latest_commit_sha":null,"homepage":"https://dev-ops-practicals.onrender.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliabbascheema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-05T05:00:35.000Z","updated_at":"2024-12-05T13:22:35.000Z","dependencies_parsed_at":"2024-12-05T12:06:45.256Z","dependency_job_id":null,"html_url":"https://github.com/aliabbascheema/dev_ops_practicals","commit_stats":null,"previous_names":["aliabbascheema/dev_ops_practicales"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliabbascheema/dev_ops_practicals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliabbascheema%2Fdev_ops_practicals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliabbascheema%2Fdev_ops_practicals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliabbascheema%2Fdev_ops_practicals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliabbascheema%2Fdev_ops_practicals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliabbascheema","download_url":"https://codeload.github.com/aliabbascheema/dev_ops_practicals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliabbascheema%2Fdev_ops_practicals/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261823738,"owners_count":23215141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-testing","container","devops","django","docker","git-actions","git-version-control","workflow"],"created_at":"2024-12-15T21:27:06.962Z","updated_at":"2025-06-25T07:05:27.127Z","avatar_url":"https://github.com/aliabbascheema.png","language":"Python","readme":"# DevOps Practicals with GitHub and GitHub Actions  \n\nThis repository is a **simple Django application skeleton** designed to demonstrate **version control** and **CI/CD workflows** using GitHub and GitHub Actions. The project is a practical implementation of key DevOps principles, including automation, collaboration, and streamlined deployment.  \n\n## Features  \n\n- **Django Framework**:  \n  A minimal Django setup to build and deploy web applications.  \n\n- **GitHub Integration**:  \n  - Version control using GitHub for collaborative development.  \n  - Clear branching strategy with main, development, and feature branches.  \n  - Commit history demonstrating best practices in logging changes.  \n\n- **GitHub Actions CI/CD Pipeline**:  \n  - Automated testing with Django’s test suite.  \n  - Deployment workflow to a staging/production environment.  \n  - Notifications for build successes or failures.  \n\n- **DevOps Workflow Demonstration**:  \n  - Continuous integration and delivery practices.  \n  - Collaborative tools and strategies for efficient project management.  \n\n\n## Prerequisites  \n\n1. Python 3.8+  \n2. pip and virtualenv  \n3. Git  \n4. A GitHub account for repository hosting and GitHub Actions configuration  \n\n## Installation  \n\n1. **Clone the Repository**:  \n   ```bash  \n   git clone https://github.com/aliabbascheema/dev_ops_practicales.git  \n   cd dev_ops_practicales \n   ```  \n\n2. **Set Up a Virtual Environment**:  \n   ```bash  \n   python -m venv venv  \n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate  \n   ```  \n\n3. **Install Dependencies**:  \n   ```bash  \n   pip install -r requirements.txt  \n   ```  \n\n4. **Run Initial Migrations**:  \n   ```bash  \n   python manage.py migrate  \n   ```  \n\n5. **Run the Development Server**:  \n   ```bash  \n   python manage.py runserver  \n   ```  \n\n   Access the application at `http://127.0.0.1:8000/`.\n\n## Usage  \n\n### Branching Strategy  \n\n- **Main**: Stable branch for production-ready code.  \n- **Development**: Active development occurs here before merging into `main`.  \n- **Feature/\u003cname\u003e**: Isolated feature branches for specific tasks.  \n\n### GitHub Actions Workflow  \n\nThe repository includes a pre-configured `.github/workflows/django-ci.yml` file to automate:  \n1. **Linting and Testing**: Ensures code quality with automated test runs.  \n2. **Build Process**: Verifies the application builds successfully.  \n3. **Deployment**: Automates deployment to staging or production environments.  \n\n## Directory Structure  \n\n```plaintext  \ndev_ops_practicales/  \n├── manage.py  \n├── dev_ops_practicales/  \n│   ├── __init__.py  \n│   ├── admin.py  \n│   ├── apps.py  \n│   ├── migrations/  \n│   ├── models.py  \n│   ├── tests.py  \n│   ├── views.py  \n├── templates/  \n├── static/  \n├── requirements.txt  \n├── .github/  \n│   └── workflows/  \n│       └── django-ci.yml  \n└── README.md  \n```  \n\n## Testing  \n\nRun tests locally using Django’s test runner:  \n```bash  \npython manage.py test  \n```  \n\n## Limitations  \n\n- The application is a skeleton and does not include business-specific logic or advanced features.  \n- Deployment configuration assumes basic setups and may require customization for advanced use cases.  \n\n## Future Enhancements  \n\n- Add Docker for containerized deployments.  \n- Integrate advanced monitoring tools like Prometheus and Grafana.  \n- Expand CI/CD pipelines to include multi-environment support.  \n\n\n## Contributions  \n\nContributions are welcome! Fork the repository, make your changes, and submit a pull request.  \n\n## License  \n\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliabbascheema%2Fdev_ops_practicals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliabbascheema%2Fdev_ops_practicals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliabbascheema%2Fdev_ops_practicals/lists"}