python - Run production Flask app locally, without a complex web server -
i built small web app friend. friend's computer not connected internet when using app, deploying on heroku not option.
is there way deploy locally without having install complex web server? small can packaged application? using built-in flask server seems discouraged when go "production", local app ok?
if it's going used offline 1 person, yes, internal development server might sufficient.
if you're looking simple way send app her, see pyinstaller:
pip install pyinstaller pyinstaller your_app.py
zip folder inside new dist directory , pass along.
if pyinstaller isn't you, there plenty of options.
Comments
Post a Comment