easy_install pip
sudo pip install virtualenvwrapper
mkvirtualenv gty
pip install flask
You can use the command deactivate
to exit the virutal environment.
workon gty
will allow you to enter the virtual environment you just created.
export FLASK_APP=gty.py
flask run
Your server should be running on localhost:5000