[email protected] | cc51cd0 | 2010-12-23 00:48:39 | [diff] [blame] | 1 | Most of the tests require a local Rietveld server. |
| 2 | |
| 3 | To set this up: |
| 4 | Method 1: Let the presubmit script do the work for you. |
| 5 | $ git cl presubmit |
| 6 | |
| 7 | Method 2: Manual. |
| 8 | 1) Check out a copy of Rietveld: |
| 9 | $ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld |
| 10 | (Use git-svn if you must, but man is it slow.) |
| 11 | 2) Get the Google App Engine SDK: |
| 12 | http://code.google.com/appengine/downloads.html |
| 13 | 3) To run Rietveld you will need Django 1.0, which is not included |
| 14 | with the App Engine SDK. Go to http://www.djangoproject.com/download , |
| 15 | download a Django from the 1.0 series (it's in the sidebar on the right), |
| 16 | untar it, then |
| 17 | $ export PYTHONPATH=`pwd`/Django-1.0.4 |
| 18 | 4) Run Rietveld: |
| 19 | $ /path/to/appengine/sdk/dev_appserver.py /path/to/rietveld |
| 20 | (If using one of the App Engine launchers, be sure to use port 8080 |
| 21 | for this project.) |
| 22 | |
| 23 | And then, finally, run the tests. |