Skip to content
Myr

Added instructions about how to run the latest development version.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent f878919 · Browse files · 1 file+38 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+38 added−0 removed

  • other:+38 added−0 removed

1 file+38 added−0 removed

modified:docs/installation.rst+38 added
94 unmodified lines
95 sudo easy_install Flask9697(Run it in an Admin shell on Windows systems and without the `sudo`).9899100Leaving on the Edge101-------------------102103You want to work with the latest version of Flask, there are two ways: you104can either let `easy_install` pull in the development version or tell it105to operate on a git checkout. Either way it's recommended to do that in a106virtualenv.107108Get the git checkout in a new virtualenv and run in develop mode::109110 $ git clone http://github.com/mitsuhiko/flask.git111 Initialized empty Git repository in ~/dev/flask/.git/112 $ cd flask113 $ virtualenv env114 $ source env/bin/activate115 New python executable in env/bin/python116 Installing setuptools............done.117 $ python setup.py develop118 ...119 Finished processing dependencies for Flask120121This will pull in the depdenencies and activate the git head as current122version. Then you just have to ``git pull origin`` to get the latest123version.124125To just get the development version without git, do this instead::126127 $ mkdir flask128 $ cd flask129 $ virtualenv env130 $ source env/bin/activate131 New python executable in env/bin/python132 Installing setuptools............done.133 $ easy_install Flask==dev134 ...135 Finished processing dependencies for Flask==dev136137.. _windows-easy-install:138139`easy_install` on Windows140-------------------------
29 unmodified lines