Deployment

Deployment
You can deploy the dist folder to any static hosting provider. To see what this dist folder contains, run the vite build command with pnpm or npm.
pnpm build
# npm run buildConfigure Netlify Deployment
echo > netlify.toml# netlify.toml
[build]
command = "npm run build"
publish = "dist"Create GitHub Repository
Before initializing a git repo and pushing it to GitHub, create a .gitignore file.
echo >> .gitignoreAdd the following to .gitignore.
.DS_Store
node_modules
distAfter staging and committing your project you can create a GitHub repository through the website's dashboard, with a desktop GUI, or with the GitHub CLI commands detailed below:
git init
git add .
git commit -m "solid"
gh repo create intro-to-solid \
--description="An example SolidJS application deployed on Netlify" \
--public \
--push \
--source=. \
--remote=upstreamDeploy with Netlify CLI
Add the netlify-cli as a package and login to your Netlify account with ntl login.
pnpm add -D netlify-cli
pnpm ntl loginInitialize the Netlify project with ntl init.
pnpm ntl inithow this course connects together.
Follow AJ from first principles to production-ready architecture.
related deep dives.
View All→
The Odin Project 6: Modern React 19, State Architecture & TypeScript
Master React 19 components, strict TypeScript props, derived state vs. useEffect traps, Server Actions, and island hydration in Astro.

The Odin Project 4: JavaScript Deep Dive (Closures, Event Loop, Async & TDD)
Master lexical closures, ES Modules, the V8 Event Loop (microtasks vs. macrotasks), Promise concurrency, and Test-Driven Development with Vitest.