Allow running the dev server with the test database, on different ports

For use by frontend tests.

(imported from commit c8f81b862963f00e5b5517ba05b2d1adcab6d78a)
This commit is contained in:
Keegan McAllister
2012-11-08 17:23:25 -05:00
parent 31496e9189
commit ed490c672f
3 changed files with 26 additions and 8 deletions

View File

@@ -104,7 +104,8 @@ INITIAL_API_KEY_SALT = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SHARED_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Base URL of the Tornado server
# We set it to None when running tests or populate_db.
# We set it to None when running backend tests or populate_db.
# We override the port number when running frontend tests.
TORNADO_SERVER = 'http://localhost:9993'
# Make redirects work properly behind a reverse proxy