better readme for scripts/

This commit is contained in:
John Krauss 2016-05-17 12:25:44 -04:00
parent 8d17375766
commit 49d3962a54

View File

@ -10,6 +10,10 @@ Python 2.7 should cover you. Virtualenv recommended.
### Execution
Currently, we don't have direct access to the metadata end-to-end. This only
affects the generation of tests. As a stopgap, we have to define a connection
to the test Observatory account.
Run automated tests against a hostname:
(venv) OBS_HOSTNAME=<hostname.cartodb.com> OBS_API_KEY=foobar nosetests autotest.py
(venv) OBS_HOSTNAME=<hostname.cartodb.com> OBS_API_KEY=foobar OBS_META_HOSTNAME=<meta hostname> OBS_META_API_KEY=<meta api_key> nosetests scripts/autotest.py