The purpose of this project is to use to play around. It uses pipenv, flask and has its own requirements.txt
- with an empty folder
- open terminal
- please install git before you continue
- write:
git clone https://github.com/baylagas/python-flask-template-2023.git
then press enter
pip install pipenv --user
pipenv shell
pipenv install -r requirements.txt
python app.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "hello world"
if __name__ == "__main__":
app.run(debug=True)