-
Notifications
You must be signed in to change notification settings - Fork 192
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
Instructions for setting up junction using Docker post junction upgrade. #761
Instructions for setting up junction using Docker post junction upgrade. #761
Conversation
0f79d8c
to
f24de39
Compare
3. Build the junction_local image using the following command: ```docker build -t junction_local .``` | ||
4. Start the project by running the following command: ```docker-compose up``` | ||
5. Access the application at https://localhost:8888. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to add a note for the apple silicon machines as suggested below.
> Note: | |
> For Apple Silicon machines set the following environment variable before building the junction image. | |
> ```sh | |
> export DOCKER_DEFAULT_PLATFORM=linux/amd64 | |
> ``` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @leshravnya for the suggestion.
The issue exist in psycopg 2.9.5 which got resolved in version 2.9.6, So I have updated the psycopg version to 2.9.6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that's great then. Let me try it out.
…ocker post junction upgrade.
0e874bf
to
7fe4e72
Compare
…s libpq version 10 issue.
0568ccf
to
0695056
Compare
Thanks @RajatRajdeep for your contribution. This is merged to my feature branch for updating docs |
* 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>
* Upgrade Junction to Python 3.10 & Django 3.2 along with Social Login 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 unit tests add gunicorn (#748) * Fix failing tests, Add gunicorn Added nox method for running gunicorn * Pin dependencies --------- Co-authored-by: Ananya Maiti <Ananya_Maiti@epam.com> * Dockerize Junction (#749) * 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> * Add SITE_PREFIX env variable for site url prefix * Fix smtp setup for sending verification emails * Fix conference moderator filter * Fix template params fro absolute_url and is_proposal_reviewer * Add Django streamhandler logging with DEBUG (#763) * Fix proposal comment template parameters Fix userprofile dashboard url * Add restart:always to containers * Fix comment creation error caused sparingly Add review_comments=False for default comment view for logged in user * Add password for Redis DB * Fixes #765 Sort ProposalSection in descending order of creation date in ProposalSectionReviewer Add form * Add autocomplete_field for Proposal Reviewer to enable searcheable dropdown in add form * Update DEFAULT_FROM_EMAIL * Update common.py * Added username field in edit profile form (Issue-769) (#771) Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com> * Update Devlopment setup docs (#773) * 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> * Rename travis yml * Remove status badges from README --------- Co-authored-by: Bhandari423 <69859505+Bhandari423@users.noreply.github.com> Co-authored-by: Ananya Maiti <Ananya_Maiti@epam.com> Co-authored-by: Sanchit Balchandani <balchandani.sanchit@gmail.com> Co-authored-by: Rajat Rajdeep <46029666+RajatRajdeep@users.noreply.github.com> Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com>
Major Changes:
Added instructions in the ReadMe file for setting up junction using Docker post junction upgrade.
Task: Update the docs post junction upgrade and docker setup #753
Updated the psycopg version to resolve SCRAM authentication requires libpq version 10 issue.
Captured Junction Issue: SCRAM authentication error when running Docker compose up #759
The above issue occurred due to following psycopg issue which got resolved in version2.9.6: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SCRAM authentication requires libpq version 10 or above psycopg/psycopg2#1360