Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleli01 committed Nov 30, 2023
1 parent f3de1c6 commit 7443097
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions versioned_docs/version-2023fa/lecture9.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7443097

Please sign in to comment.