Add basic files
This commit is contained in:
parent
f53efeb564
commit
8e904e794d
3 changed files with 21 additions and 0 deletions
11
app.py
Normal file
11
app.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def hello_world(): # put application's code here
|
||||
return render_template('home.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0')
|
0
static/css/styles.scss
Normal file
0
static/css/styles.scss
Normal file
10
templates/home.html
Normal file
10
templates/home.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>DCSL Image Hosting Server</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue