diff --git a/assets/config/flask/lomes-app.py b/assets/config/flask/lomes-app.py index b1d7398..60ef82d 100644 --- a/assets/config/flask/lomes-app.py +++ b/assets/config/flask/lomes-app.py @@ -2,12 +2,11 @@ from flask import Flask, render_template -app = Flask(__name__) +app = Flask(__name__, static_folder="/var/www/html", static_url_path="/var/www/html", send_from_directory("data/images, lomes.svg")) @app.route("/") def index(): - return "with Flask" - return render_template("/var/www/html/index.html") + return app.send_static_file("index.html") -app.run(host="0.0.0.0", port=5000) \ No newline at end of file +app.run(host="127.0.0.1", port=5000) \ No newline at end of file diff --git a/lomes-app.py b/lomes-app.py new file mode 100644 index 0000000..b1d7398 --- /dev/null +++ b/lomes-app.py @@ -0,0 +1,13 @@ +#!/bin/python3 + +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route("/") +def index(): + return "with Flask" + return render_template("/var/www/html/index.html") + + +app.run(host="0.0.0.0", port=5000) \ No newline at end of file diff --git a/static/data/font/Gravity-Bold.woff b/static/data/font/Gravity-Bold.woff new file mode 100644 index 0000000..bd94496 Binary files /dev/null and b/static/data/font/Gravity-Bold.woff differ diff --git a/static/data/font/Gravity-Bold.woff2 b/static/data/font/Gravity-Bold.woff2 new file mode 100644 index 0000000..d3dfc2b Binary files /dev/null and b/static/data/font/Gravity-Bold.woff2 differ diff --git a/static/data/font/Gravity-BoldItalic.woff b/static/data/font/Gravity-BoldItalic.woff new file mode 100644 index 0000000..674ef3e Binary files /dev/null and b/static/data/font/Gravity-BoldItalic.woff differ diff --git a/static/data/font/Gravity-BoldItalic.woff2 b/static/data/font/Gravity-BoldItalic.woff2 new file mode 100644 index 0000000..7489325 Binary files /dev/null and b/static/data/font/Gravity-BoldItalic.woff2 differ diff --git a/static/data/font/Gravity-Book.woff b/static/data/font/Gravity-Book.woff new file mode 100644 index 0000000..ae705ec Binary files /dev/null and b/static/data/font/Gravity-Book.woff differ diff --git a/static/data/font/Gravity-Book.woff2 b/static/data/font/Gravity-Book.woff2 new file mode 100644 index 0000000..5e90874 Binary files /dev/null and b/static/data/font/Gravity-Book.woff2 differ diff --git a/static/data/font/Gravity-BookItalic.woff b/static/data/font/Gravity-BookItalic.woff new file mode 100644 index 0000000..5e1d14c Binary files /dev/null and b/static/data/font/Gravity-BookItalic.woff differ diff --git a/static/data/font/Gravity-BookItalic.woff2 b/static/data/font/Gravity-BookItalic.woff2 new file mode 100644 index 0000000..4752f17 Binary files /dev/null and b/static/data/font/Gravity-BookItalic.woff2 differ diff --git a/static/data/font/Gravity-Italic.woff b/static/data/font/Gravity-Italic.woff new file mode 100644 index 0000000..8b23e2a Binary files /dev/null and b/static/data/font/Gravity-Italic.woff differ diff --git a/static/data/font/Gravity-Italic.woff2 b/static/data/font/Gravity-Italic.woff2 new file mode 100644 index 0000000..83d4e4c Binary files /dev/null and b/static/data/font/Gravity-Italic.woff2 differ diff --git a/static/data/font/Gravity-Light.woff b/static/data/font/Gravity-Light.woff new file mode 100644 index 0000000..fbd80fb Binary files /dev/null and b/static/data/font/Gravity-Light.woff differ diff --git a/static/data/font/Gravity-Light.woff2 b/static/data/font/Gravity-Light.woff2 new file mode 100644 index 0000000..a0f022d Binary files /dev/null and b/static/data/font/Gravity-Light.woff2 differ diff --git a/static/data/font/Gravity-LightItalic.woff b/static/data/font/Gravity-LightItalic.woff new file mode 100644 index 0000000..b30c6c0 Binary files /dev/null and b/static/data/font/Gravity-LightItalic.woff differ diff --git a/static/data/font/Gravity-LightItalic.woff2 b/static/data/font/Gravity-LightItalic.woff2 new file mode 100644 index 0000000..4b1015f Binary files /dev/null and b/static/data/font/Gravity-LightItalic.woff2 differ diff --git a/static/data/font/Gravity-Regular.woff b/static/data/font/Gravity-Regular.woff new file mode 100644 index 0000000..975db9c Binary files /dev/null and b/static/data/font/Gravity-Regular.woff differ diff --git a/static/data/font/Gravity-Regular.woff2 b/static/data/font/Gravity-Regular.woff2 new file mode 100644 index 0000000..0c8b99e Binary files /dev/null and b/static/data/font/Gravity-Regular.woff2 differ diff --git a/static/data/font/Gravity-UltraLight.woff b/static/data/font/Gravity-UltraLight.woff new file mode 100644 index 0000000..e9126ec Binary files /dev/null and b/static/data/font/Gravity-UltraLight.woff differ diff --git a/static/data/font/Gravity-UltraLight.woff2 b/static/data/font/Gravity-UltraLight.woff2 new file mode 100644 index 0000000..5b913c8 Binary files /dev/null and b/static/data/font/Gravity-UltraLight.woff2 differ diff --git a/static/data/font/Gravity-UltraLightItalic.woff b/static/data/font/Gravity-UltraLightItalic.woff new file mode 100644 index 0000000..f9ee0c1 Binary files /dev/null and b/static/data/font/Gravity-UltraLightItalic.woff differ diff --git a/static/data/font/Gravity-UltraLightItalic.woff2 b/static/data/font/Gravity-UltraLightItalic.woff2 new file mode 100644 index 0000000..7dd35c7 Binary files /dev/null and b/static/data/font/Gravity-UltraLightItalic.woff2 differ diff --git a/static/data/images/favicon.ico b/static/data/images/favicon.ico new file mode 100644 index 0000000..5ee2b1b --- /dev/null +++ b/static/data/images/favicon.ico @@ -0,0 +1,57 @@ + + + + diff --git a/static/data/images/lomes.svg b/static/data/images/lomes.svg new file mode 100644 index 0000000..a9886b3 --- /dev/null +++ b/static/data/images/lomes.svg @@ -0,0 +1,57 @@ + + + + diff --git a/static/data/install_log/log.html b/static/data/install_log/log.html new file mode 100644 index 0000000..bcb14ad --- /dev/null +++ b/static/data/install_log/log.html @@ -0,0 +1,14 @@ +
| Hostname | ++ |
| IP Address | ++ |
| Encryption | ++ |
If you see this site, means "LoMeS" development environment is running!
+Thanks for collaborating and trying to make things mor real...
+