-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ede628
commit dc6a904
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
id: lecture9 | ||
title: Lecture 9 | ||
--- | ||
|
||
[Lecture Slides](https://docs.google.com/presentation/d/1VBKaYBTrOMwk2cngcKzw7ofbdfXzdqE41J-DD3_l-P0/edit?usp=sharing) | ||
|
||
[Final Project Instructions](finalproject) | ||
|
||
# Quick Announcements | ||
|
||
- Final Project Demonstration | ||
- Monday 12/4 7:30 - 8:45 PM | ||
- Location: Upson 222 | ||
- Attendance of your whole team is required! | ||
- Structure of the demo day: | ||
- Each team will be assigned a personal table to demo your project. | ||
- You can visit other team's table to learn about other team's projects. | ||
- Instructors will visit each table one by one to grade your projects. | ||
- Cookies will be provided! | ||
|
||
# Containerization Concepts | ||
|
||
Containerization allows applications to packaged with their dependencies into standardized units called containers. | ||
|
||
**Benefits** | ||
|
||
- Portability between environments | ||
- Ensure consistency | ||
- Streamline deployment | ||
|
||
**Docker** is a popular containerization platform. Key concepts: | ||
|
||
- **Images:** Blueprint describing the environment | ||
- **Containers:** Running instances of images | ||
- **Dockerfile:** Defines how to build an image | ||
|
||
With Docker we can package applications into images that can be run reliably as containers anywhere. | ||
|
||
## Docker Setup | ||
|
||
To build a Docker image for a Node.js app: | ||
|
||
1. Create a Dockerfile | ||
2. Define base image, copy source code, specify commands | ||
3. Build image: `docker build` | ||
4. Run container from image: `docker run` | ||
|
||
## Deploying Containers | ||
|
||
Platforms like **Fly.io** make it easy to deploy Docker containers. | ||
|
||
To deploy on Fly.io: | ||
|
||
1. Install flyctl CLI | ||
2. Sign up and login | ||
3. Launch app with `flyctl launch` | ||
4. Deploy updates with `flyctl deploy` | ||
|
||
Fly.io handles running containers on their infrastructure. | ||
|
||
# Even Further Beyond | ||
|
||
Some further technologies: | ||
|
||
- Redux, SWR, Axios | ||
- GraphQL | ||
- Nest.js | ||
- Deno | ||
|
||
# Final Course Feedback (10% of your Grade) | ||
|
||
Let us know your thoughts by filling out Final Project Feedback Form and Final Feedback Form by **December 9 (11:59PM)**. These are to be released during presentation day. | ||
|
||
Thank you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters