Skip to content

Commit a9d730e

Browse files
authored
Merge branch 'main' into gamejam-info
2 parents 57b2e4c + 8bd9fbb commit a9d730e

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,19 @@ If you would like to run this project using your local machine, first create a `
3838
```
3939
import os
4040
41+
os.environ['IP'] = ''
42+
os.environ['PORT'] = ''
4143
os.environ['SERVER_NAME'] = ''
4244
os.environ['PREFERRED_URL_SCHEME'] = ''
45+
os.environ["OIDC_ISSUER"] = ""
46+
os.environ["OIDC_CLIENT_ID"] = ""
4347
os.environ["OIDC_CLIENT_SECRET"] = ""
44-
os.environ["DEVCADE_DB_PORT"] = ""
45-
os.environ["DEVCADE_DB_NAME"] = ""
46-
os.environ["DEVCADE_DB_USER"] = ""
47-
os.environ["DEVCADE_DB_PASS"] = ""
48-
os.environ["DEVCADE_DB_URI"] = ""
48+
os.environ["GOOGLE_OIDC_ISSUER"] = ""
49+
os.environ["GOOGLE_OIDC_CLIENT_ID"] = ""
50+
os.environ["GOOGLE_OIDC_CLIENT_SECRET"] = ""
4951
os.environ["DEVCADE_API_URI"] = ""
52+
os.environ["FRONTEND_API_KEY"] = ""
53+
os.environ["DEVCADE_IS_DEV"] = ""
5054
```
5155

52-
Note that this is just a template for the `envs.py` file. You will need to get these secrets from an RTP or Devcade developer.
56+
Note that this is just a template for the `envs.py` file. You will need to get these secrets from an RTP or Devcade developer.

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
alembic==1.8.1
22
Beaker==1.11.0
3-
certifi==2022.9.24
3+
certifi==2022.12.7
44
cffi==1.15.1
55
charset-normalizer==2.1.1
66
click==8.1.3
7-
cryptography==38.0.1
7+
cryptography==39.0.1
88
defusedxml==0.7.1
99
Flask==2.2.2
1010
Flask-Login==0.6.2
1111
Flask-Migrate==3.1.0
1212
Flask-pyoidc==3.11.0
1313
Flask-SQLAlchemy==3.0.2
14-
future==0.18.2
14+
future==0.18.3
1515
greenlet==1.1.3.post0
1616
gunicorn==20.1.0
1717
idna==3.4
@@ -30,5 +30,5 @@ six==1.16.0
3030
SQLAlchemy==1.4.42
3131
typing_extensions==4.4.0
3232
urllib3==1.26.12
33-
Werkzeug==2.2.2
33+
Werkzeug==2.2.3
3434
psycopg2-binary==2.9.3

src/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ def gamejam():
108108
def preseed():
109109
return flask.redirect('https://raw.githubusercontent.com/ComputerScienceHouse/Devcade-onboard/main/idiot/preseed.txt')
110110

111+
@app.route('/docs')
112+
def docs():
113+
return flask.redirect('https://devcade-docs.csh.rit.edu')
114+
115+
111116
@app.errorhandler(Exception)
112117
def page404(e):
113118
eCode = 500

src/templates/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h1>Devcade</h1>
6969
<div id="nav" class="dropped hidden">
7070
<div class="item"><a href="/">Home</a></div>
7171
<div class="item"><a href="/catalog">Games</a></div>
72-
<div class="item"><a href="https://computersciencehouse.github.io/devcade-website/">Docs</a></div>
72+
<div class="item"><a href="/docs">Docs</a></div>
7373
{% if current_user.is_authenticated %}
7474
<div class="item"><a href="/upload">Upload</a></div>
7575
<div class="item" id="account">

0 commit comments

Comments
 (0)