kurtgodel1 / projectGodel

Setting up WhiteNoise in Django settings for Heroku deployment
https://project-godel.vercel.app
MIT License
0 stars 0 forks source link

Implementing DevOps Practices for Project Efficiency and Reliability #14

Closed kurtgodel1 closed 9 months ago

kurtgodel1 commented 9 months ago

Description

Integrating DevOps practices into the project to streamline development workflows, enhance collaboration, and ensure a more reliable deployment process.

Proposed Tasks

kurtgodel1 commented 9 months ago

Progress Update on Implementing DevOps Practices

Task Completed: Continuous Integration Setup

Next Steps:

This marks a significant milestone in enhancing the project's DevOps capabilities and streamlining the development process. Looking forward to the next phases of implementation.

kurtgodel1 commented 9 months ago

Progress Report for Issue 14

Tasks Completed:

  1. DevOps Principles Implementation: We explored various workflows suitable for the project's Django backend and React frontend. Discussed and selected GitHub Actions workflows for both parts of the application.
  2. Dockerization: Successfully created Dockerfiles for both backend and frontend, and verified their functionality.
  3. GitHub Actions for CI/CD: Set up and tested GitHub Actions workflows for continuous integration and deployment. This included linting, building, and pushing Docker images to a registry.
  4. Database Configuration for Heroku: Configured the project to use PostgreSQL in the production environment on Heroku, while retaining SQLite for development. Ensured proper installation and setup of psycopg2-binary for PostgreSQL support.
  5. Heroku Deployment: Addressed several deployment issues, including database migrations and environment-specific settings.
  6. CSRF Error Resolution: Investigated and provided detailed steps to resolve a CSRF verification issue, emphasizing the importance of CSRF token handling in templates and AJAX requests.

Next Steps:

Additional Notes:

kurtgodel1 commented 9 months ago

Progress Update on Issue 14

Tasks Completed:

  1. Monitoring and Logging:
    • Explored various monitoring and logging tools suitable for Django and React applications.
    • Discussed the use of Sentry for both Django and React for error tracking and performance monitoring, offering a unified solution for the stack.
    • Reviewed the benefits and setup process of Sentry, providing guidance for its integration.
    • Considered Vercel Speed Insights for performance monitoring of the React frontend hosted on Vercel, explaining its features and implementation steps.

Next Steps:

Feel free to reach out if further assistance or clarification is needed on any of these steps.