This Page

woven.virtualenv

woven.virtualenv.activate()

Activates the version specified in env.project_version if it is different from the current active version.

An active version is just the version that is symlinked.

woven.virtualenv.active_version()

Determine the current active version on the server

Just examine the which environment is symlinked

woven.virtualenv.manual_migration(*args, **kwargs)

Simple interactive function to pause the deployment. A manual migration can be done two different ways: Option 1: Enter y to exit the current deployment. When migration is completed run deploy again. Option 2: run the migration in a separate shell

woven.virtualenv.migration(*args, **kwargs)

Integrate with south schema migration

woven.virtualenv.mkvirtualenv(*args, **kwargs)

Create the virtualenv project environment

woven.virtualenv.pip_install_requirements(*args, **kwargs)

Install on current installed virtualenv version from a pip bundle [dist/project name-version].zip or pip req.txt``|``requirements.txt or a env.pip_requirements list.

By default it will look for a zip bundle in the dist directory first then a requirements file.

The limitations of installing requirements are that you cannot point directly to packages in your local filesystem. In this case you would bundle instead.

woven.virtualenv.rmvirtualenv()

Remove the current or env.project_version environment and all content in it

woven.virtualenv.sync_db(*args, **kwargs)

Runs the django syncdb command