workspace-course-topics

Orchestrator: Environment Setup

Phase: Tools
Time: ~15 minutes

Purpose

Get everyone’s local environment ready before starting substantive work. The ballpark repo includes a comprehensive setup script (scripts/setup_env.sh) that installs all required tools automatically.


Prerequisites

Important: You need a fork, not just a clone of econ-ark/ballpark. Fork first at https://github.com/econ-ark/ballpark, then clone your fork.


Workflow sequence

1. Git fetch/pull on ballpark

Make sure everyone has the latest code before we begin.

Deliverable: git status shows “Your branch is up to date”


2. Run the setup script

From the ballpark repo root, run:

cd ~/GitHub/<your-username>/ballpark
bash scripts/setup_env.sh

This single command:

Deliverable: Script prints a summary with version numbers for all tools.


3. Launch Cursor in ballpark

Open Cursor with the ballpark repo as your workspace.

Deliverable: Cursor opens with ballpark as the root folder


4. Activate the environment and open a notebook

Activate the environment created by the setup script:

source .venv-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)/bin/activate

Then open your notebook in Cursor. See Open Jupyter notebook in Cursor for details.

Deliverable: Notebook opens and kernel is selected from “Python Environments”


Checkpoint

Before proceeding, verify:


Next orchestrator

Bibliography Capture