Files
pybadges/server-example/README.md
2020-04-23 13:22:07 +07:00

434 B

Simple Server

Installing

Before running, it is recommended to install the versions of packages that were used when writing this code:

pip install -r requirements.txt

And if you don't have installed flask yet:

apt install python3-flask

Running

You must inform the environment variable FLASK_APP and then run:

export FLASK_APP=hello.py
flask run