add all modif in the portfolio git
This commit is contained in:
14
compose.yml
14
compose.yml
@@ -1,14 +0,0 @@
|
||||
services:
|
||||
flask:
|
||||
build: ./web
|
||||
environment:
|
||||
- DB_HOST=mariadb
|
||||
- DB_USER=flaskuser
|
||||
- DB_PASSWORD=flaskpass
|
||||
- DB_NAME=flaskdb
|
||||
depends_on:
|
||||
- mariadb
|
||||
volumes:
|
||||
- ./web:/app
|
||||
ports:
|
||||
- "5000:5000"
|
||||
9
list.txt
9
list.txt
@@ -1,9 +0,0 @@
|
||||
Section 1 — Projets majeurs (6 max)
|
||||
|
||||
1 - Infrastructure self-hosted
|
||||
2 - GestHub
|
||||
3 - Mini Born d'arcade
|
||||
4 - ModulX
|
||||
5 - Pong LED Arduino
|
||||
6 - Robot mini-foot
|
||||
|
||||
28
web/app.py
28
web/app.py
@@ -1,28 +0,0 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__, static_folder='static', static_url_path='/static')
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return render_template('view/index.html')
|
||||
|
||||
@app.route('/about')
|
||||
def about():
|
||||
return render_template('view/about.html')
|
||||
|
||||
@app.route('/contact')
|
||||
def contact():
|
||||
return render_template('view/contact.html')
|
||||
|
||||
@app.route('/projects')
|
||||
def projects():
|
||||
return render_template('view/projects.html')
|
||||
|
||||
@app.route('/experiences')
|
||||
def experiences():
|
||||
return render_template('view/experiences.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
# app.run(debug=True)
|
||||
app.run(debug=True, host='0.0.0.0', port=5000)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /web
|
||||
COPY . /web
|
||||
|
||||
RUN pip install flask
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
@@ -1,3 +0,0 @@
|
||||
.test{
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>about</h1>
|
||||
<a href="/">index</a>
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/experiences">experiences</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>contact</h1>
|
||||
<a href="/">index</a>
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/experiences">experiences</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>experiences</h1>
|
||||
<a href="/">index</a>
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/experiences">experiences</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../../static/index.css">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="test">index</h1>
|
||||
<a href="/">index</a>
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/experiences">experiences</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>projects</h1>
|
||||
<a href="/">index</a>
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/experiences">experiences</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user