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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -