Bug #3038
Updated by Tom Clegg about 10 years ago
Currently there are various conflicting conventions in use.
* Default apiserver port number in run_test_server.py is 3001.
* Default apiserver port number to connect to in workbench default config is 3001.
* Apiserver port number to connect to in workbench example config file is 3000.
* Default workbench address to redirect to in apiserver default config is workbench.local:3001 -- but that's where API server itself wants to run!
Proposed improvement:
* [[Hacking Workbench]] page currently suggests running Workbench in dev mode on port 3031.
* [[Hacking API server]] page currently suggests running API server in dev mode on port 3030.
* Let's choose port 3001 for "Workbench in test mode".
* Let's choose port 3000 for "API server in test mode".
* Update run_test_server.py and various other bits to reflect this 3000/3001 convention.
* */*/config/application.default.yml should use localhost:3000 / localhost:3001 in the "test" section.
* */*/config/application.yml.example should have encouraging comments in the "dev" and "production" section. Perhaps the "dev" section can use localhost:3030 / localhost:3031 (uncommented) as appropriate.
* None of the yaml files should have any of these settings in the "common" section.