|
|
Line 48: |
Line 48: |
| * Run the mozbase tests as a sanity check: | | * Run the mozbase tests as a sanity check: |
| $ python test.py | | $ python test.py |
|
| |
| ==== Installing Mozbase ====
| |
|
| |
| * Create a [https://developer.mozilla.org/en/Python/Virtualenv virtualenv]:
| |
|
| |
| virtualenv mozbase
| |
|
| |
| * Activate the virtualenv:
| |
|
| |
| cd mozbase; . bin/activate
| |
|
| |
| * Create a source directory:
| |
|
| |
| mkdir src
| |
|
| |
| * Clone mozbase in the source directory:
| |
|
| |
| cd src; git clone git://github.com/mozilla/mozbase.git
| |
|
| |
| * Install packages in the virtualenv:
| |
|
| |
| cd mozbase; python setup_development.py --extra
| |
|
| |
| Note: If you pass in --extra you will need to ensure python-dev is installed (apt-get install python-dev).
| |
|
| |
|
| === Working on Mozbase and Contributing Patches === | | === Working on Mozbase and Contributing Patches === |