Skip to content

Instantly share code, notes, and snippets.

@coderinboots
Last active March 26, 2019 17:50
Show Gist options
  • Save coderinboots/34eff6e0d1b9c394b1028905badaf7ba to your computer and use it in GitHub Desktop.
Save coderinboots/34eff6e0d1b9c394b1028905badaf7ba to your computer and use it in GitHub Desktop.
Simple Python Flask application
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!. This is Systemd Example"
if __name__ == "__main__":
app.run(host='0.0.0.0', port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment