mihail911 / modern-software-dev-assignments

mihail911 / modern-software-dev-assignments

Assignments for CS146S: The Modern Software Developer CS146S:现代软件开发者课程作业

This is the home of the assignments for CS146S: The Modern Software Developer, taught at Stanford University fall 2025. 这里是斯坦福大学 2025 年秋季开设的 CS146S:现代软件开发者课程的作业主页。

Repo Setup 仓库设置

These steps work with Python 3.12. 以下步骤适用于 Python 3.12。

Install Anaconda 安装 Anaconda

Download and install: Anaconda Individual Edition 下载并安装:Anaconda Individual Edition(个人版)。

Open a new terminal so conda is on your PATH. 打开一个新的终端,确保 conda 已添加到你的系统路径(PATH)中。

Create and activate a Conda environment (Python 3.12) 创建并激活 Conda 环境(Python 3.12)

conda create -n cs146s python=3.12 -y
conda activate cs146s

Install Poetry 安装 Poetry

curl -sSL https://install.python-poetry.org | python -

Install project dependencies with Poetry (inside the activated Conda env) 使用 Poetry 安装项目依赖(在已激活的 Conda 环境中)

From the repository root: 在仓库根目录下执行:

poetry install --no-interaction