Skip to content

Commit

Permalink
Merge pull request #179 from PeerPrep/deploy-local
Browse files Browse the repository at this point in the history
Update deployment
  • Loading branch information
sivayogasubramanian authored Nov 8, 2023
2 parents 4fd5680 + 8c56f4f commit 2dd205f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

We recommend using our production environment for testing. You can find the production environment at [https://peerprep.sivarn.com](https://peerprep.sivarn.com).

A set of email/password with admin privileges will be uploaded to Canvas through Sharing Assignment Private Info assignment.

# Testing Locally

## DISCLAIMER: Our executor service can only run on x86_64 architecture. If you are using a different architecture, you will not be able to run the executor locally. However, you can still test the rest of the application.
Expand Down
24 changes: 0 additions & 24 deletions deployment/Dockerfile-executor-local

This file was deleted.

2 changes: 1 addition & 1 deletion deployment/Dockerfile-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COPY frontend .

# Install dependencies

RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile --network-timeout 1000000000

# Build app

Expand Down
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}

executor:
image: peerprep-executor-service
build:
context: .
dockerfile: deployment/Dockerfile-executor-local
platform: linux/amd64
image: ghcr.io/peerprep/peerprep-executor-service:latest
container_name: peerprep-executor-service
restart: always
networks:
Expand Down

0 comments on commit 2dd205f

Please sign in to comment.