
- Default
PORTtoCONDUCTOR_PORTso each workspace gets its own port - Make sure Action Mailer, controllers, and other URL generators use that port
- Symlink git-ignored files from your root repo to each workspace
Configuration Files
Here’s a complete setup based on John Nunemaker’s gist.conductor.json
Add this to the root of your project:bin/conductor-setup
Create a setup script that symlinks shared configuration from your root repo:chmod +x bin/conductor-setup
script/server
Create a server script that usesCONDUCTOR_PORT:
chmod +x script/server
config/initializers/default_host.rb
This initializer ensures Action Mailer, controllers, and asset hosts all use the correct port:config/puma.rb
Configure Puma to use thePORT environment variable:
