Skip to content

Commit

Permalink
Merge branch 'preview' into jtromero/working
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksontromero committed Feb 17, 2025
2 parents 5f9e27f + ad7fa0a commit 7fff9d5
Show file tree
Hide file tree
Showing 6 changed files with 913 additions and 179 deletions.
7 changes: 4 additions & 3 deletions DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ server {
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
# This is old and seemingly not needed, could cause ERR_TOO_MANY_REDIRECTS
# Redirect non-https traffic to https
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
# if ($scheme != "https") {
# return 301 https://$host$request_uri;
# } # managed by Certbot
location /ohq/ {
rewrite /ohq/(.*) /$1 break;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
```
3. You may need to download and install [PostgreSQL](https://www.postgresql.org/download/) and set up the database ([see below](#setting-up-the-database))
4. Set up environment files ([see below](#configuration))
5. Log in with the owner email, which is defined in `server/.env`, change "Current Semester" to a new value and click "Save." This creates the initial database entry for a semester.
5. **Log in with the owner email, which is defined in `server/.env`, change "Current Semester" to a new value and click "Save." This creates the initial database entry for a semester.**
6. Go to settings and create a new TA with an email that's **different from the owner email**. The owner email is special and can't interact normally on the queue, so you'll need a separate TA email to test the TA view.
## Running Server
Expand Down
Loading

0 comments on commit 7fff9d5

Please sign in to comment.