Created
November 26, 2019 15:06
-
-
Save aswan89/de6ae5f000faf66042247154038e5887 to your computer and use it in GitHub Desktop.
flask dev server problems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nix-shell:~/project]$ flask run | |
* Environment: production | |
WARNING: This is a development server. Do not use it in a production deployment. | |
Use a production WSGI server instead. | |
* Debug mode: off | |
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) | |
^C | |
[nix-shell:~/project]$ export FLASK_ENV=development | |
[nix-shell:~/project]$ flask run | |
* Environment: development | |
* Debug mode: on | |
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) | |
* Restarting with stat | |
File "/nix/store/d34icmvx8dfjsmj6ihwi8jx8kilbcmgw-python3.7-Flask-1.1.1/bin/flask", line 2 | |
export PATH='/nix/store/zdh16dcvjw99ybam59zd2ijb6bx138j0-python3-3.7.5/bin:/nix/store/d34icmvx8dfjsmj6ihwi8jx8kilbcmgw-python3.7-Flask-1.1.1/bin'${PATH:+':'}$PATH | |
^ | |
SyntaxError: invalid syntax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment