Skip to content

Commit

Permalink
Add lec 9
Browse files Browse the repository at this point in the history
  • Loading branch information
thuypham03 committed Apr 29, 2024
1 parent 863a952 commit 8f50623
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 3 deletions.
6 changes: 3 additions & 3 deletions versioned_docs/version-2024sp/finalproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ For this milestone, you should have fully functioning prototype with maybe some

**Due: May 4th, 2024 by 11:59 PM**
Submit your final work! Great job and we're all excited for demo day!!
**Make sure to fill out this peer review form (TBD) for all members on your team**
**Make sure to fill out this [Peer review Form](https://forms.gle/yV834xgC4SuRSvEW9) for all members on your team**

#### FINAL PRESENTATION DAY (in-class): May 6th, 2024

Expand All @@ -90,7 +90,7 @@ Do not push private API keys, Firebase service accounts, or other sensitive info
Note that firebase configs for the frontend are fine (and **should be**) included in your submission.
:::

Submit a zip file of your project to CMSX by the deadline!
Submit a zip file of your project to CMSX and fill out this [Final Project Link](https://forms.gle/DKrJwevzCmtCkNSF9) by the deadline!

## Optional Extensions

Expand Down Expand Up @@ -141,7 +141,7 @@ This is subject to change.
- Each milestone is worth 5% of your grade.

- Peer Review (5%)
- Fill out this peer review form (TBD) for all members on your team
- Fill out this [Peer Review Form](https://forms.gle/yV834xgC4SuRSvEW9) for all members on your team

## Tips for Success!

Expand Down
75 changes: 75 additions & 0 deletions versioned_docs/version-2024sp/lecture9.md
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/1aAG-3sTxKT90whxWbWZW6mbKD8dv8DdOTa_zyS_ZKk0/edit?usp=sharing)

[Final Project Instructions](finalproject)

# Quick Announcements

- Final Project Demonstration
- Monday 5/6 7:30 - 8:45 PM
- Location: TBD (We will post announcement on Ed)
- 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](https://forms.gle/1xVW4cdW9vfNfSsXA) and [Final Feedback Form](https://forms.gle/X2x1j33xdAgb4MAVA) by **May 6 (11:59PM)**.

Thank you!
4 changes: 4 additions & 0 deletions versioned_sidebars/version-2024sp-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
{
"type": "doc",
"id": "version-2024sp/lecture8"
},
{
"type": "doc",
"id": "version-2024sp/lecture9"
}
],
"Assignments": [
Expand Down

0 comments on commit 8f50623

Please sign in to comment.