Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 9c98577

Browse files
committed
configuration stuff
1 parent 8549c45 commit 9c98577

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
### Uber Simple CTF Management Server
22

3-
Made with flask
3+
Made with flask and python
44

5-
- works on koyeb, vercel, or render.com (nearly out of the box)
5+
- works on koyeb (Procfile), vercel (vercel.json), pythonanywhere (wsgi) or render.com (nearly out of the box)
66

7-
Meant for individual users and not teams
7+
8+
Meant for individual users to solve a CTF challenge in sequential order via flags
9+
10+
Passwords and secrets are hardcoded in the code, so don't use this for anything serious

pythonanywhere.wsgi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file contains the WSGI configuration required to serve up your
2+
# web application at http://<your-username>.pythonanywhere.com/
3+
# It works by setting the variable 'application' to a WSGI handler of some
4+
# description.
5+
#tftime_pythonanywhere_com_wsgi.py
6+
# The below has been auto-generated for your Flask project
7+
8+
import sys
9+
10+
# add your project directory to the sys.path
11+
project_home = '/home/Ctftime/mysite/hint_server'
12+
if project_home not in sys.path:
13+
sys.path = [project_home] + sys.path
14+
15+
# import flask app but need to call it "application" for WSGI to work
16+
from run import app as application # noqa

0 commit comments

Comments
 (0)