mirror of
https://github.com/PotentiaRobotics/robot-gui.git
synced 2025-04-19 10:30:16 -04:00
23 lines
369 B
Python
23 lines
369 B
Python
# app.py
|
|
|
|
from flask import Flask, render_template
|
|
from flask_assets import Bundle, Environment
|
|
|
|
app = Flask(__name__)
|
|
|
|
assets = Environment(app)
|
|
css = Bundle("src/main.css", output="dist/main.css")
|
|
|
|
assets.register("css", css)
|
|
css.build()
|
|
|
|
|
|
@app.route("/")
|
|
def homepage():
|
|
return render_template("index.html")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|
|
|