Created
October 11, 2011 02:09
-
-
Save minghan/1277101 to your computer and use it in GitHub Desktop.
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
# Tips from http://t2.unl.edu/documentation/graphtool/new-install | |
mkdir ~/eggs | |
export PYTHONPATH=$PYTHONPATH:~/eggs | |
export PATH=$PATH:~/eggs | |
# echo "export PYTHONPATH=$PYTHONPATH:~/eggs" >> ~/.bashrc | |
# echo "export PATH=$PATH:~/eggs" >> ~/.bashrc | |
curl -O http://peak.telecommunity.com/dist/ez_setup.py | |
python ez_setup.py --install-dir=~/eggs | |
rm ez_setup.py | |
# ~/eggs/easy_install-2.7 --install-dir=~/eggs virtualenv | |
~/eggs/easy_install-2.7 --install-dir=~/eggs Flask | |
~/eggs/easy_install-2.7 --install-dir=~/eggs jinja2 | |
~/eggs/easy_install-2.7 --install-dir=~/eggs werkzeug | |
# https://github.com/mitsuhiko/flask/tree/master/examples/flaskr/ | |
git clone git://github.com/mitsuhiko/flask.git | |
# python | |
# from flaskr import init_db; init_db() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment