Skip to content

Conversation

@pyraxo
Copy link
Owner

@pyraxo pyraxo commented Oct 18, 2025

Background

Introduces a setup script and configuration file to streamline the initialization of the Conductor workspace, ensuring all dependencies and environment variables are correctly configured.

Changes

  • Added conductor-setup.sh to the root directory:
    • Verifies pnpm and Node.js (v18+) versions.
    • Handles .env.local or .env file copying from CONDUCTOR_ROOT_PATH.
    • Creates a template .env.local if no environment file is found.
    • Validates critical environment variables: CONVEX_URL, NEXT_PUBLIC_CONVEX_URL, and at least one LLM API key (GROQ, OpenAI, Gemini).
    • Installs dependencies with pnpm install --frozen-lockfile.
    • Builds the workspace with pnpm build.
    • Displays a quick start guide upon successful completion.
  • Added conductor.json to the root directory:
    • Defines setup script to run ./conductor-setup.sh.
    • Defines run script to execute pnpm dev.
    • Sets runScriptMode to nonconcurrent.

Testing

  • Execute ./conductor-setup.sh with pnpm and Node.js missing.
  • Execute ./conductor-setup.sh with correct environment variables.
  • Execute ./conductor-setup.sh without a .env.local or .env file.
  • Execute ./conductor-setup.sh with missing critical environment variables in .env.local.
  • Verify pnpm install and pnpm build run successfully after setup.
  • Confirm pnpm dev can be started using conductor.json.

@pyraxo pyraxo merged commit 45d65f7 into main Oct 18, 2025
0 of 2 checks passed
@pyraxo pyraxo deleted the create-script branch October 18, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants