Permalink
Browse files

Added instructions about how to run the latest development version.

  • Loading branch information...
1 parent f878919 commit 3d320176813e87b8dccbbbc807133dfe6ce0bcde @mitsuhiko mitsuhiko committed Apr 19, 2010
Showing with 38 additions and 0 deletions.
  1. +38 −0 docs/installation.rst
View
@@ -96,6 +96,44 @@ This is possible as well, but I would not recommend it. Just run
(Run it in an Admin shell on Windows systems and without the `sudo`).
+
+Leaving on the Edge
+-------------------
+
+You want to work with the latest version of Flask, there are two ways: you
+can either let `easy_install` pull in the development version or tell it
+to operate on a git checkout. Either way it's recommended to do that in a
+virtualenv.
+
+Get the git checkout in a new virtualenv and run in develop mode::
+
+ $ git clone http://github.com/mitsuhiko/flask.git
+ Initialized empty Git repository in ~/dev/flask/.git/
+ $ cd flask
+ $ virtualenv env
+ $ source env/bin/activate
+ New python executable in env/bin/python
+ Installing setuptools............done.
+ $ python setup.py develop
+ ...
+ Finished processing dependencies for Flask
+
+This will pull in the depdenencies and activate the git head as current
+version. Then you just have to ``git pull origin`` to get the latest
+version.
+
+To just get the development version without git, do this instead::
+
+ $ mkdir flask
+ $ cd flask
+ $ virtualenv env
+ $ source env/bin/activate
+ New python executable in env/bin/python
+ Installing setuptools............done.
+ $ easy_install Flask==dev
+ ...
+ Finished processing dependencies for Flask==dev
+
.. _windows-easy-install:
`easy_install` on Windows

0 comments on commit 3d32017

Please sign in to comment.