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

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ Junction

Junction is a software to manage proposals, reviews, schedule, feedback during conference.

Project Setup using Docker
--------------------------

Prerequisites:
1. Docker: You can download and install Docker from the official website at https://www.docker.com/get-started.

Instructions:
1. Copy the .env.sample file to a new .env file by running the following command: ```cp .env.sample .env```
2. Create a local development settings file by running the following command: ```cp settings/dev.py.sample settings/dev.py```
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.

Copy link

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.

Suggested change
> Note:
> For Apple Silicon machines set the following environment variable before building the junction image.
> ```sh
> export DOCKER_DEFAULT_PLATFORM=linux/amd64
> ```

Copy link
Contributor Author

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.

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.

Contributing
------------

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ django-filter==22.1

# Persistent Store
# -------------------------------------------------
psycopg2-binary==2.9.5
psycopg2-binary==2.9.6
redis==4.3.4
dj-database-url==0.5.0

Expand Down