GENAI 102
M02 · L10
Getting It Out There

Packaging & Deployment

Deployment is getting your app off your laptop and onto the internet, where other people can actually use it. Building it is half the job — shipping it is the other half.

01 / 08
GENAI 102
M02 · L10
What Ships

The Moving Parts

A few pieces work together every time you put an app online.

  • Environments — separate copies for dev, staging, and production
  • Containers — package the app so it runs the same everywhere (for example, Docker)
  • Config & secrets — settings and API keys, kept OUT of the code
  • Hosting — where it actually runs
02 / 08
GENAI 102
M02 · L10
Security Rule

Keep Your Secrets Out

API keys and passwords go in environment variables or a secrets manager — never committed to git. A key in your repository is a key anyone with the code can read.

The Rule
Secrets live in the environment, not the source. Rotate any key that ends up in a commit.
03 / 08
GENAI 102
M02 · L10
Automate the Ship

Build, Test, Deploy

CI/CD automatically builds, tests, and deploys your app whenever you push a change — instead of you running each step by hand.

Why It Helps
Every push is checked the same way, so mistakes are caught before they reach users.
04 / 08
GENAI 102
M02 · L10
The Easy Paths

Where Builders Host

You rarely need to manage machines yourself. Pick the simplest host that fits what you built.

  • Static hosts — for static sites (just files, no server)
  • Simple platform hosts — for small servers, without touching the underlying machine
05 / 08
GENAI 102
Build It
From Concept to Capstone

Build It

How to implement: move any hard‑coded key in your project into an environment variable, and add it to a .gitignore so it never gets committed.

  • Weekly AI Tasks tracker — your LLM key and messaging‑app token are secrets: env vars, never in the repo. Deploy the small server to a simple host so the webhook has a public URL.
  • Personal brand site — deploy straight from the git repo to a static host; every push republishes automatically.
06 / 08
GENAI 102
Knowledge Check

Check what stuck

Three questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

07 / 08
GENAI 102
Summary
Recap

What you learned

Deployment moves your app online. Mind the moving parts — environments, containers, config & secrets, hosting — keep secrets out of git, let CI/CD ship for you, and pick the simplest host that fits.

08 / 08