Skip to content

Commit

Permalink
Created index.html and turn into a module and make it run the server (v…
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagueta authored Dec 11, 2024
1 parent 44c0ede commit 3c7caa8
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflow/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: ${{matrix.python-version}}

- name: Install Project Dependencies
run: pip install '.[test]'
run: pip install '.[dev]'

- name: Debug Installed Packages
run: pip freeze
Expand Down
Empty file added app/__init__.py
Empty file.
12 changes: 12 additions & 0 deletions app/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from flask import Flask, render_template

app = Flask(__name__)


@app.route("/")
def home():
return render_template("index.html")


if __name__ == "__main__":
app.run(debug=True)
22 changes: 22 additions & 0 deletions app/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Viana Labs</title>
</head>

<body>

<h1>Welcome to Viana Labs</h1>

<h2>Empowering Your Digital Presence</h2>

<p class="principal">
At Viana Labs, we specialize in creating modern, responsive, and customized websites for businesses of all sizes.
Our mission is to help you stand out in the digital world with innovative and effective solutions.
</p>

</body>
</html>

0 comments on commit 3c7caa8

Please sign in to comment.