Example
Here’s an example setup script that installs dependencies, copies your.env file, and builds the app:
How it works
The setup script runs in your new workspace directory ($CONDUCTOR_WORKSPACE_PATH) as soon as it’s created.
In this example, we copy the .env file from the repository root directory ($CONDUCTOR_ROOT_PATH) into each new workspace.
The repo root directory is a good place to store files you might want to share across workspaces. You can copy or symlink them depending on your needs.
