Skip to content

baylagas/python-flask-template-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8c9fdfd · Jul 18, 2023

History

3 Commits
Jun 26, 2020
Jul 18, 2023
Jul 18, 2023
Jun 26, 2020
Jul 18, 2023

Repository files navigation


Python Flask Template 2023

The purpose of this project is to use to play around. It uses pipenv, flask and has its own requirements.txt

Clone this repo

  • 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

Install pipenv

pip install pipenv --user

Create a new virtual environment

pipenv shell

Install requirements

pipenv install -r requirements.txt

Run the project

python app.py

Usage: play around with your code

from flask import Flask

app = Flask(__name__)


@app.route("/")
def hello():
    return "hello world"


if __name__ == "__main__":
    app.run(debug=True)

About

python-flask-template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages