Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run flask app from command line

# For bash do this:
set FLASK_APP=<app_name>

# For powershell do this:
$env FLASK_APP=<app_name>

# Run it like this
flask run
Comment

flask run cmd

# to setup and run the flask script from cmd
export FLASK_APP=YourFileName.py

set FLASK_APP=YourFileName.py

flask run
Comment

PREVIOUS NEXT
Code Example
Shell :: link folder to github repo 
Shell :: push new branch to remote 
Shell :: linux, get host user 
Shell :: how to install pycharm on ubuntu 
Shell :: git merge a file from another branch to current branch 
Shell :: show conflicts git 
Shell :: command not found: nvm 
Shell :: how to change default crontab editor 
Shell :: universal command to get operating system 
Shell :: how to upgrade docker-compose version 
Shell :: git ssh key ubuntu 
Shell :: ubuntu echo create file readme.md 
Shell :: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:783 (propagating) 
Shell :: node install mint 
Shell :: docker node alpine 
Shell :: linux grep recursive 
Shell :: blackeye bash 
Shell :: linux monitor outgoing https requests 
Shell :: install virtualbox on ubuntu 
Shell :: create conda environment from yaml file 
Shell :: git change git commit date 
Shell :: search in history command windows 
Shell :: show changes at time of git pull 
Shell :: list all files by size 
Shell :: composer upgrade to 2 
Shell :: git ignore folder except one file 
Shell :: how to install pandoc 
Shell :: linux delete files older than specific date 
Shell :: how to install grub 
Shell :: ubuntu update 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =