NNelara Technologies

AI Builder Launchpad · Step 05

Set Up Python

A clean environment prevents dependency confusion and keeps secrets out of source files.

Commands

python3 -m venv .venv
source .venv/bin/activate
python -m pip install python-dotenv requests
touch .env .env.example requirements.txt

Env Pattern

API_KEY="put_real_key_in_dotenv"
PUBLIC_BASE_URL="http://127.0.0.1:8000"

Rules

  • Never commit .env.
  • Commit .env.example.
  • Print only safe health checks.

Deliverable

A script that loads an environment variable and exits clearly if it is missing.

PreviousNext Step

Your Foundation Progress

0 / 10 lessons completed
Continue Learning →