Skip to main content
Use a run script to easily launch your web server, app, or unit tests from a button in Conductor. Configure your run script in Repository Settings (click the repo name in the sidebar).

Example

python3 -m http.server --port $CONDUCTOR_PORT

How it works

The run script runs in your workspace directory ($CONDUCTOR_WORKSPACE_PATH). In this example, we start a web server running on ($CONDUCTOR_PORT). Conductor allocates ten ports to each workspace ($CONDUCTOR_PORT through $CONDUCTOR_PORT+9).

Nonconcurrent mode

If you can’t run multiple dev servers at once, use nonconcurrent mode. In this mode, whenever you click the run button, Conductor will kill any in-progress run scripts before starting the new one. You can find this setting under “Advanced” in the Scripts section of Repository Settings. For more details about how run scripts work, see Scripts.