Skip to content

Commit 1d482d9

Browse files
committed
added basic functionality
1 parent 390fb84 commit 1d482d9

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

Diff for: README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Test_hacktober
22

3-
```python
4-
print("Ishant ki jai ho")
3+
It's a project for a website for hacktober joiners to contribute with low coding experstise.
4+
5+
## Run
6+
To run this project for development you just need to run the following commands
7+
```shell
8+
git clone [email protected]:harshit81201/Test_hacktober.git
9+
cd Test_hacktober
10+
flask run --debug
511
```
612

713
## Badges

Diff for: app.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from flask import Flask, redirect, request, render_template
2+
3+
app = Flask(__name__)
4+
5+
@app.route('/home')
6+
@app.route('/')
7+
def home():
8+
return render_template('home.html')

Diff for: templates/home.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Home</title>
7+
</head>
8+
<body>
9+
It's a homepage
10+
</body>
11+
</html>

0 commit comments

Comments
 (0)