Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 826 Bytes

File metadata and controls

29 lines (23 loc) · 826 Bytes

🌐 Deploy Frontend to Netlify (Free)

✅ Prerequisites

  • Git installed (git --version)
  • Node.js 18+ installed (node --version)
  • Netlify account (free, GitHub login OK)

🚀 Deployment Steps (Copy-Paste)

1. Build production frontend

cd C:\Users\User\Documents\news_python_react_app\frontend
npm run build

→ Creates dist/ folder

2. Deploy via Drag & Drop (Fastest)

  1. Go to: https://app.netlify.com/drop
  2. Drag & drop C:\Users\User\Documents\news_python_react_app\frontend\dist
  3. Copy your Netlify URL (e.g., https://clever-star-12345.netlify.app)

3. (Optional) CLI deployment

npm install -g netlify-cli
cd frontend
netlify deploy --dir=dist --prod

✅ Done! Frontend is live.