You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,3 +58,12 @@ Users from the populate script all have password `pennlabs`.
58
58
- a. Navigate to `/frontend`
59
59
- b. `yarn cypress open`
60
60
- c. Click on `question.spec.ts`
61
+
62
+
### Emulating the production server
63
+
This will, as best as possible, emulate the production configuration described in `/k8s/main.ts`.
64
+
65
+
1. Open a command prompt to `/backend`
66
+
2. Run `docker compose --profile proddev up`
67
+
3. To turn it off, use `CTRL+C` and then `docker compose --profile proddev down`
68
+
69
+
Note this will reuse the postgres database stored in `/backend/postgres`. You may reset this database by turinging off the docker containers and deleting `/backend/postgres`
0 commit comments