Confirmed users
656
edits
| Line 33: | Line 33: | ||
==== Initial Setup ==== | ==== Initial Setup ==== | ||
* Install [http://www.pip-installer.org/en/latest/installing.html python-pip]. | |||
* Install [https://developer.mozilla.org/en/Python/Virtualenv virtualenv] and [https://bitbucket.org/dhellmann/virtualenvwrapper virtualenvwrapper]: | |||
$ sudo pip install virtualenv | |||
$ sudo pip install virtualenvwrapper | |||
$ echo "source `which virtualenvwrapper.sh` >> ~/.bashrc | |||
$ source ~/.bashrc | |||
* | * Grab a copy of [https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial mozilla-central]. | ||
* Create a new virtualenv and install mozbase into it: | |||
$ cd mozilla-central/testing/mozbase | |||
$ mkvirtualenv mozbase | |||
$ python setup_development.py | |||
* | * Run the mozbase tests as a sanity check: | ||
$ python test.py | |||
==== Installing Mozbase ==== | ==== Installing Mozbase ==== | ||