8000 Added barebones section 2 app. · siutex/testing-python-apps@f8688e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit f8688e7

Browse files
committed
Added barebones section 2 app.
1 parent f118947 commit f8688e7

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

section2/video_code/__init__.py

Whitespace-only changes.

section2/video_code/app.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from flask import Flask
2+
3+
4+
app = Flask(__name__)
5+
6+
7+
@app.route('/')
8+
def home():
9+
return render_template('home.html')
10+
11+
12+
if __name__ == '__main__':
13+
app.run()

section2/video_code/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Flask
2+
Flask-RESTful
3+
Flask-JWT
4+
Flask-SQLAlchemy
5+
uwsgi
6+
psycopg2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<body>
3+
<h1>Hello, world!</h1>
4+
</body>
5+
</html>

section2/video_code/tests/__init__.py

Whitespace-only changes.

section2/video_code/tests/system/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)
0