From 744309740b6f3f857f93a1c14d67aed25c5ec46a Mon Sep 17 00:00:00 2001 From: Michelle Li Date: Thu, 30 Nov 2023 00:31:44 -0500 Subject: [PATCH] update --- versioned_docs/version-2023fa/lecture9.md | 34 ----------------------- 1 file changed, 34 deletions(-) diff --git a/versioned_docs/version-2023fa/lecture9.md b/versioned_docs/version-2023fa/lecture9.md index ec557a533..b47fd109e 100644 --- a/versioned_docs/version-2023fa/lecture9.md +++ b/versioned_docs/version-2023fa/lecture9.md @@ -15,40 +15,6 @@ title: Lecture 9 - Demo required (5 minutes max) - Presentation optional -# Deployment - -We want to share our web application with others by deploying it onto servers that can serve the site to visitors. - -## What's Different About Next.js - -Unlike static React apps that compile into an HTML/JS bundle, Next.js offers dynamic features like server-side rendering. This means the server needs to actually run the Next.js application to handle requests, rather than just serving static files. - -## Recommended: Vercel - -Vercel has amazing integration with Next.js. To deploy: - -1. Install Vercel CLI: `yarn global add vercel` -2. In project root, run: `vercel` - -Vercel has a free tier perfect for final projects! - -## Alternative Hosting - -Other options: - -- **AWS Amplify:** Leverage AWS services -- **Azure:** Microsoft cloud platform -- **GCP:** Google Cloud Platform -- **Netlify** / **Heroku:** Great deployment experience -- **DigitalOcean:** Rent virtual private servers - -## Post-Deployment - -After deploying: - -- Don't hardcode local URLs -- Update Firebase authorized domains - # Containerization Concepts Containerization allows applications to packaged with their dependencies into standardized units called containers.