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

Upgrade to Django 3.2 LTS and Dockerize junction #757

Merged
merged 20 commits into from
Jun 15, 2023

Conversation

ananyo2012
Copy link
Contributor

This PR aims to resolve the long pending junction upgrade to Django LTS version and support Python3 in production

We have also Dockerized junction for enabling cross platform setup and using docker for production deployment.

Thanks to @Bhandari423, @inovizz, @rohitchopra-epam for their efforts for their constant efforts and completing this gigantic task

Closes #611, #614, #730

Bhandari423 and others added 3 commits January 10, 2023 23:39
…Fix (#744)

* Upgrade Python Version to 3.10 and Django Version 3.2

* Fix Github and Google Login/Signup

* new package added to the requirements file

* using f-strings

Co-authored-by: @rohitchopra-epam
* Fix failing tests, Add gunicorn

Added nox method for running gunicorn

* Pin dependencies

---------

Co-authored-by: Ananya Maiti <Ananya_Maiti@epam.com>
* Initial commit for Dockerization

* Fix review comments and dockerignore

* Update dev.py.sample with runsslserver

* Fixes for using default settings module

* Remove Dockerfile.celery and use image from junction web image

* Update docker-compose.test.yml to not depend on postgres db

* Add static asset compilation in Docker image

* Add docker-compose.prod.yml and update server port configuration in application

* Add social oauth env vars

---------

Co-authored-by: Sanchit Balchandani <balchandani.sanchit@gmail.com>
Co-authored-by: Ananya Maiti <Ananya_Maiti@epam.com>
Dockerfile Show resolved Hide resolved
@ananyo2012 ananyo2012 force-pushed the feature/upgrade-junction branch 2 times, most recently from 261f1b7 to 76b20d6 Compare April 25, 2023 20:03
settings/common.py Outdated Show resolved Hide resolved
@inovizz
Copy link
Contributor

inovizz commented May 7, 2023

@ananyo2012 - now that we have seen issues while testing junction, maybe we could park this PR and merge only when all such issues are fixed?

@ananyo2012
Copy link
Contributor Author

@ananyo2012 - now that we have seen issues while testing junction, maybe we could park this PR and merge only when all such issues are fixed?

@inovizz Yes we can keep this on hold. But we do need to complete the upgrade soon so that others can consume the changes for junction upgrade. In the current stage we have to pretty much point everyone to this branch.

Fix userprofile dashboard url
Ananya Maiti and others added 9 commits May 8, 2023 17:52
Add review_comments=False for default comment view for logged in user
Sort ProposalSection in descending order of creation date
in ProposalSectionReviewer Add form
Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com>
* Update Devlopment setup docs

* Instructions for setting up junction using Docker post junction upgrade. (#761)

* Added instructions in the ReadMe file for setting up junction using Docker post junction upgrade.

* Updated the psycopg version to resolve - SCRAM authentication requires libpq version 10 issue.

---------

Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com>

---------

Co-authored-by: Ananya Maiti <Ananya_Maiti@epam.com>
Co-authored-by: Rajat Rajdeep <46029666+RajatRajdeep@users.noreply.github.com>
Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com>
@inovizz
Copy link
Contributor

inovizz commented Jun 14, 2023

@ananyo2012 - we could plan a sprint and complete open issues related to this PR.

@inovizz
Copy link
Contributor

inovizz commented Jun 15, 2023

Great work @ananyo2012 as usual. 🚀

@ananyo2012 ananyo2012 merged commit c4d8ba3 into master Jun 15, 2023
@ananyo2012 ananyo2012 deleted the feature/upgrade-junction branch June 15, 2023 06:03
@palnabarun
Copy link
Member

Really great work on this everyone! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Django to 2.2 LTS
6 participants