Support/Developer Tips

From MozillaWiki
< Support
Revision as of 20:42, 18 June 2010 by Erikrose (talk | contribs) (→‎Download Cache: .zsh -> .zshrc)
Jump to navigation Jump to search

Here are a few tips and tricks we've accumulated while working on the new platform. Hopefully these are helpful to new developers or other contributors who want to get Kitsune up and running to hack on it.

pip

pip is a package manager for Python that is an improvement over easy_install. It works well with virtualenv, which we also use. (In fact, virtualenv installs pip for you.)

Download Cache

A download cache can make pip install go much faster. There are just two steps to start using a download cache:

mkdir ~/.pip-cache
export PIP_DOWNLOAD_CACHE=~/.pip-cache

You probably want to put the second line into your .bashrc (or .zshrc) file as well, so it's automatically exported when you open the terminal.