alphagov/rummager — pull request #1 by floehopper (2011-12-13 12:52:23+00:00)
Title: Make rummager app ID and router paths configurable for whitehall.

The whitehall app needs to run a separate instance of Rummager (whitehall-rummager in alphagov-deployment) and this needs to register paths with a different prefix with the router to discriminate them from the citizen search paths. Also it needs to register these paths against a different backend URL, i.e. the one for the whitehall instance of Rummager.

See alphagov/alphagov-deployment@806185123dfb751e546fd50129aa17adb6691592 for the capistrano task that makes use of the environment variables in this commit.

@craigw suggested in Campfire that Rummager shouldn't be registering its backed URL using a public DNS entry. Does anyone have a recommendation for what it should use instead. Ideally I'd like to use the same mechanism for both citizen and whitehall instances of Rummager.