Skip to content

Commit

Permalink
Merge pull request #122 from ryanchua00/master
Browse files Browse the repository at this point in the history
Fix question history bug and update README
  • Loading branch information
ryanchua00 authored Nov 15, 2023
2 parents f0e213e + 0091ee4 commit f913e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Getting Started with Docker for Development
# PeerPrep
## Getting Started with Docker for Development

1. Install docker at https://www.docker.com/

Expand All @@ -17,7 +18,7 @@ To simplify the container building, a `docker-compose.yml` has been created in o

Note that user-service requires a Supabase database and question-service requires a MongoDB database. The respective `README.md` should aid you in creating your own databases.

Also, the ai-service requires your own OpenAI key and email-service requires an SMTP_PASSWORD to run locally. For ease of testing, do so on peerprep.ryanchuahj.com
Also, the ai-service requires your own OpenAI key and email-service requires an SMTP_PASSWORD to run locally. For ease of testing, do so on [peerprep.ryanchuahj.com](peerprep.ryanchuahj.com), or contact the developers.

## Finishing Development

Expand Down
4 changes: 2 additions & 2 deletions frontend/components/ProfilePage/HistoryTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ const HistoryTable = ({ username }: HistoryTableProps) => {
<Box sx={{ width: "50%", height: "80vh", padding: 8 }}>
<CodeBlock
code={
displayedResponses[questionNumber - 1] ==
displayedResponses[questionNumber] ==
undefined
? " Press the question number "
: displayedResponses[questionNumber - 1]
: displayedResponses[questionNumber]
.text
}
language={modalLanguage}
Expand Down

0 comments on commit f913e3b

Please sign in to comment.