Авторский курс Елизаровой НаталииAuthor's course by Nataliia Elizarova
Модуль 5 · Урок 05-19 · Новый урокModule 5 · Lesson 05-19 · New lesson

Установка за вечер и первая сборка дашбордаSet up in an evening and build your first dashboard

В уроке 05-18 вы скачали стартовый набор мини-дашборда. Теперь соберём его на своём компьютере: поставим Python и Claude Code, заведём папку проекта, научимся пяти командам терминала, запустим сборку и проверку, а потом попросим Claude Code добавить в дашборд новый фильтр. Программировать не нужно: нужно аккуратно выполнять шаги и читать, что пишет экран.

In lesson 05-18 you downloaded the mini dashboard starter kit. Now we build it on your computer: install Python and Claude Code, set up a project folder, learn five terminal commands, run the build and the check, and then ask Claude Code to add a new filter to the dashboard. No programming needed: just follow the steps carefully and read what the screen says.

🆕 Новый урок🆕 New lesson ⏱ 30 минут чтения + 1–2 часа на установку⏱ 30 minutes of reading + 1–2 hours of installing 💻 Тренажёр «Терминал»💻 Simulator: "Terminal" 🛠 Разбор ошибок🛠 Error troubleshooter ✅ Тест из 8 вопросов✅ An 8-question quiz

После урока вы сможетеAfter this lesson you will be able to

  • поставить Python и Claude Code на Windows и проверить, что они работают;
  • открыть терминал в нужной папке и выполнить команды сборки;
  • собрать мини-дашборд, открыть его и прогнать проверку;
  • поставить Claude Code задачу на правку и проверить результат;
  • по тексту ошибки понять, что случилось и что делать.
  • install Python and Claude Code on Windows and check they work;
  • open a terminal in the right folder and run the build commands;
  • build the mini dashboard, open it and run the check;
  • give Claude Code an edit task and check the result;
  • read an error message and know what happened and what to do.
1

Пять слов урокаFive words of the lesson

ТерминалTerminalокно, где вместо кнопок пишут команды; в Windows это PowerShella window where you type commands instead of clicking; on Windows it is PowerShell
КомандаCommandстрока вроде python make_data.py; выполняется по Entera line like python make_data.py; runs on Enter
Папка проектаProject folderодна папка, где лежат все файлы дашбордаone folder holding all the dashboard files
PATHсписок папок, где Windows ищет программы по имениthe list of folders where Windows looks for programs by name
Окружение (venv)Environment (venv)отдельная «кладовка» библиотек Python для одного проектаa separate "pantry" of Python libraries for one project
2

На пальцах: инструменты и адресная книгаIn plain words: tools and an address book

Перед ремонтом вы приносите инструменты и кладёте их туда, где их легко найти. Python и Claude Code — инструменты. PATH — адресная книга Windows: если программы в ней нет, на команду python Windows ответит «не знаю такого». Поэтому половина ошибок установки — не «сломалось», а «не записали адрес».

Before a renovation you bring the tools and put them where they are easy to find. Python and Claude Code are the tools. PATH is Windows' address book: if a program is not in it, Windows answers the python command with "never heard of it". That is why half of all install errors are not "broken" but "address not written down".

Формула урокаThe lesson formula Поставить → проверить командой → только потом идти дальше. После каждого шага — команда-проверка. Ошибку легко найти, пока шагов позади один, а не десять. Install → check with a command → only then move on. After every step — a check command. An error is easy to find while one step is behind you, not ten.
3

Что ставим и зачемWhat we install and why

ПрограммаProgramЗачемWhyОбязательно?Required?
Python 3.12считает и собирает дашбордcalculates and builds the dashboardдаyes
Windows Terminal (PowerShell)окно для команд; в Windows 11 уже естьthe command window; already in Windows 11даyes
Claude Codeпишет и правит код по вашей задачеwrites and edits code to your taskдля правок — даfor edits — yes
Edge илиor Chromeпоказывает дашборд и нужен скрипту проверкиshows the dashboard and is needed by the check scriptда (Edge уже есть в Windows)yes (Edge comes with Windows)
Git for Windowsжурнал версий; Claude Code использует его оболочку, если она естьversion history; Claude Code uses its shell if presentнетno
VS Codeудобный редактор, если захотите смотреть кодa handy editor if you want to look at the codeнетno

Стартовому набору не нужны дополнительные библиотеки Python — ничего не придётся ставить через pip. Полная инструкция с письмом для ИТ — в конце урока и в 04-28-2.

The starter kit needs no extra Python libraries — nothing to install via pip. The full guide with a note for IT is at the end of the lesson and in 04-28-2.

4

Шаг 1. PythonStep 1. Python

  1. Откройте PowerShell (Пуск → «Терминал» или «PowerShell»).
  2. Выполните winget install --id Python.Python.3.12 -e. Если winget на рабочем ноутбуке закрыт — скачайте установщик с python.org и обязательно поставьте галочку «Add python.exe to PATH».
  3. Закройте окно, откройте новое и проверьте: python --version → Python 3.12.x.
  1. Open PowerShell (Start → "Terminal" or "PowerShell").
  2. Run winget install --id Python.Python.3.12 -e. If winget is blocked on a work laptop — download the installer from python.org and be sure to tick "Add python.exe to PATH".
  3. Close the window, open a new one and check: python --version → Python 3.12.x.
Ловушка «магазинного» PythonThe "Store" Python trap Если вместо версии открывается Microsoft Store — Windows подставляет заглушку. В «Параметры → Приложения → Псевдонимы выполнения приложений» выключите python.exe и python3.exe и откройте новое окно. If Microsoft Store opens instead of the version — Windows substitutes a stub. In "Settings → Apps → App execution aliases" switch off python.exe and python3.exe and open a new window.
5

Шаг 2. Пять команд терминала, которых хватитStep 2. Five terminal commands that are enough

КомандаCommandЧто делаетWhat it doesПримерExample
cdперейти в папкуgo to a foldercd C:\Dashboards\mini
dirпоказать файлы в папкеlist the files in the folderdir
mkdirсоздать папкуcreate a foldermkdir C:\Dashboards\mini
python …запустить скриптrun a scriptpython make_data.py
start …открыть файл программой по умолчаниюopen a file with its default programstart mini_dashboard.html

Три приёма экономят время: Tab дописывает имя файла, стрелка ↑ возвращает прошлую команду, Ctrl+C останавливает зависшую. Открыть терминал сразу в папке: в Проводнике щёлкните правой кнопкой по пустому месту папки → «Открыть в терминале».

Three tricks save time: Tab completes a file name, the ↑ arrow brings back the previous command, Ctrl+C stops a stuck one. To open a terminal right in a folder: in Explorer right-click an empty spot in the folder → "Open in Terminal".

6

Шаг 3. Claude CodeStep 3. Claude Code

Команды — из официальной документации Claude Code на 30.10.2026. Права администратора не нужны. Нужна Windows 10 версии 1809 или новее, 64-битная.

Commands are from the official Claude Code documentation as of 30.10.2026. No administrator rights needed. Windows 10 version 1809 or newer, 64-bit, is required.

ГдеWhereКоманда установкиInstall command
PowerShellirm https://claude.ai/install.ps1 | iex
Командная строка (cmd)Command Prompt (cmd)curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
  1. Выполните команду, дождитесь окончания.
  2. Откройте новое окно PowerShell и проверьте: claude --version.
  3. Перейдите в папку проекта и наберите claude — при первом запуске он предложит войти через браузер. Условия доступа — на сайте Claude.
  1. Run the command and wait for it to finish.
  2. Open a new PowerShell window and check: claude --version.
  3. Go to the project folder and type claude — on first run it offers to sign in via the browser. Access terms are on the Claude website.

Git for Windows ставить не обязательно: без него Claude Code работает через PowerShell. Обновления приходят сами. Если на старой Windows 10 установка ругается на защищённое соединение, в PowerShell сначала выполните [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 и повторите.

Git for Windows is optional: without it Claude Code works through PowerShell. Updates arrive automatically. If an older Windows 10 complains about a secure connection, first run [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 in PowerShell and retry.

7

Шаг 4. Папка проекта: коротко и не в OneDriveStep 4. Project folder: short and not in OneDrive

Создайте mkdir C:\Dashboards\mini и положите туда шесть файлов набора из 05-18. Почему не в OneDrive и не на Рабочий стол: синхронизация держит файлы открытыми и мешает записи, а длинные пути с кириллицей ломают часть программ. Готовый дашборд публикуйте в общую папку (05-21), а работайте — в короткой локальной.

Create mkdir C:\Dashboards\mini and put the kit's six files from 05-18 there. Why not OneDrive or the Desktop: sync keeps files open and blocks writing, and long Cyrillic paths break some programs. Publish the finished dashboard to a shared folder (05-21), but work in a short local one.

ПримерExample У вас общая библиотека называется «S&OP-Demand Planning», у коллеги — «S&OP - Demand…». Скрипт, который ищет папку по имени, у коллеги не найдёт ничего. Правило: искать папку по уровням и содержимому («папка, где лежат 03_Master files и 10_Qlick_history»), а пути строить от места скрипта. Your shared library is called "S&OP-Demand Planning", a colleague's is "S&OP - Demand…". A script that looks for the folder by name finds nothing on the colleague's laptop. Rule: find the folder by levels and contents ("the folder that holds 03_Master files and 10_Qlick_history"), and build paths from the script's location.
8

Шаг 5. Окружение — когда понадобятся библиотекиStep 5. An environment — when you need libraries

Мини-набору окружение не нужно. Оно понадобится, когда дашборд начнёт читать Excel (05-20): библиотеки ставятся в «кладовку» проекта, а не в общий Python.

The mini kit needs no environment. You will need one when the dashboard starts reading Excel (05-20): libraries go into the project's "pantry", not into the shared Python.

python -m venv "%LOCALAPPDATA%\Dashboards\.venv"
"%LOCALAPPDATA%\Dashboards\.venv\Scripts\python.exe" -m pip install openpyxl

Окружение держим вне OneDrive (в папке пользователя), иначе синхронизация тысяч мелких файлов тормозит всё. Одно окружение — один проект: обновление библиотеки в одном проекте не ломает другой.

Keep the environment outside OneDrive (in the user folder), otherwise syncing thousands of small files slows everything down. One environment — one project: updating a library in one project does not break another.

9

Тренажёр: терминал без рискаSimulator: a risk-free terminal

Это не настоящий терминал — он только показывает, что ответит компьютер. Цель: проверить Python, создать папку, перейти в неё, собрать и проверить дашборд. Попробуйте и неправильный порядок — увидите настоящие тексты ошибок.

This is not a real terminal — it only shows what the computer will answer. Goal: check Python, create the folder, go into it, build and check the dashboard. Try the wrong order too — you will see the real error texts.

10

Первая сборка: четыре команды и что вы увидитеFirst build: four commands and what you will see

В папке проекта по очереди. Ниже — настоящий вывод на учебных данных.

In the project folder, one by one. Below is the real output on the training data.

PS C:\Dashboards\mini> python make_data.py
data.json: 252 строк / rows; факт 2026 / actuals 2026 = 40465; точность / accuracy = 0.9304
PS C:\Dashboards\mini> python build_dashboard.py
mini_dashboard.html: 15 КБ / KB - готово / done
PS C:\Dashboards\mini> start mini_dashboard.html
PS C:\Dashboards\mini> python check_dashboard.py
ошибки JS / JS errors: нет / none | fatal: нет / none
точность 2026 / accuracy 2026: экран / screen 0.9304, Python 0.9304 -> OK
точность 2025 / accuracy 2025: экран / screen 0.9337, Python 0.9337 -> OK
заголовок после EN / title after EN: Valley Beverages · forecast accuracy | NaN/undefined: False
ИТОГ / RESULT: OK

Обратите внимание: точность 93,04 % напечатал Python в первой строке, и та же цифра стоит на экране — проверка это и сверила. Если цифры разойдутся, проверка напишет «НЕ СХОДИТСЯ» и не даст опубликовать «на глаз».

Note: Python printed 93.04% accuracy in the first line, and the same number is on screen — that is what the check reconciled. If they diverge, the check says "MISMATCH" and stops you publishing "by eye".

11

Кнопка запуска: run_dashboard.batThe run button: run_dashboard.bat

Чтобы не набирать команды, в наборе есть run_dashboard.bat: двойной клик — данные, сборка и открытие. Внутри только латиница: командная строка Windows читает .bat по байтам, и русские буквы превращаются в «кракозябры» или ломают команды. Русские сообщения пишет Python, а не .bat.

To avoid typing commands the kit has run_dashboard.bat: a double click — data, build and open. Inside — Latin letters only: Windows Command Prompt reads a .bat byte by byte, and Cyrillic turns into garbage or breaks commands. Python prints the Russian messages, not the .bat.

Если браузер переспрашиваетIf the browser asks При скачивании .bat браузер может предупредить «файл может быть опасным». Это нормально для любых .bat: откройте его в Блокноте и прочитайте — там восемь строк. When downloading a .bat the browser may warn "this file may be dangerous". That is normal for any .bat: open it in Notepad and read it — it is eight lines.
12

Первая правка с Claude Code: запрос — это ТЗFirst change with Claude Code: a request is a spec

Добавим фильтр по месяцу. В папке проекта наберите claude и вставьте запрос целиком. Хороший запрос называет цель, файлы, правила и проверку — как техническое задание (подробно — 04-28-3).

Let's add a month filter. In the project folder type claude and paste the whole request. A good request names the goal, the files, the rules and the check — like a specification (more in 04-28-3).

Задача: добавь в мини-дашборд фильтр «Месяц» — флажки с месяцами выбранного года, слева под «Товарами».
Файлы: правь только template.html. data.json и скрипты не трогай.
Правила:
- карточки, графики, таблица, кнопка «Откуда цифра?» и выгрузка CSV должны учитывать новый фильтр;
- имя CSV-файла должно содержать выбранные месяцы;
- русский и английский текст — у всех новых подписей;
- нельзя снять все флажки: хотя бы один месяц остаётся;
- новых библиотек не подключай.
Проверка: после правки запусти python build_dashboard.py и python check_dashboard.py.
Обе команды должны закончиться без ошибок. Покажи, какие строки изменил.
Task: add a "Month" filter to the mini dashboard — checkboxes with the months of the selected year, on the left below "Products".
Files: edit template.html only. Do not touch data.json or the scripts.
Rules:
- the cards, charts, table, the "Where does this number come from?" button and the CSV export must respect the new filter;
- the CSV file name must contain the selected months;
- Russian and English text for every new label;
- unticking all boxes is not allowed: at least one month stays;
- do not add new libraries.
Check: after the edit run python build_dashboard.py and python check_dashboard.py.
Both must finish without errors. Show which lines you changed.

Claude покажет изменения и спросит разрешения записать файл — прочитайте и разрешите. Потом откройте дашборд, поставьте один месяц и сверьте точность в кнопке «Откуда цифра?» с расчётом в Excel на тех же строках.

Claude will show the changes and ask permission to write the file — read and allow. Then open the dashboard, pick one month and reconcile the accuracy in the "Where does this number come from?" button with an Excel calculation on the same rows.

13

Если сборка или проверка упалаIf the build or the check fails

Прочитайте последнюю строкуRead the last lineв ней почти всегда имя файла и суть: «нет data.json», «повторные объявления: …», «НЕ СХОДИТСЯ»it almost always names the file and the problem: "no data.json", "duplicate declarations: …", "MISMATCH"
Не правьте наугадDo not edit at randomвставьте текст ошибки в Claude Code: «вот что пишет проверка, найди причину и почини»paste the error text into Claude Code: "this is what the check says, find the cause and fix it"
После починки — снова обе командыAfter the fix — both commands againсборка и проверка; «починил» без зелёного OK не считаетсяbuild and check; "fixed" without a green OK does not count
14

Разбор ошибок: что пишет экран → что делатьTroubleshooter: what the screen says → what to do

Нажмите на текст, похожий на ваш.

Click the text that looks like yours.

15

Рабочий ноутбук и ИТA work laptop and IT

На рабочем ноутбуке часть шагов решает ИТ: может быть закрыт winget, установка программ или выход в интернет через прокси. Не обходите ограничения — отправьте ИТ список программ с назначением (он есть в инструкции ниже и в 04-28-2). Claude Code ставится без прав администратора, но правила компании об ИИ-инструментах и данных — главнее: рабочие выгрузки отдавайте ассистенту только в разрешённом инструменте (02-08).

On a work laptop IT decides some steps: winget, program installs or internet access via a proxy may be locked. Do not work around restrictions — send IT the list of programs with their purpose (it is in the guide below and in 04-28-2). Claude Code installs without admin rights, but company rules on AI tools and data come first: give work exports to an assistant only in an approved tool (02-08).

16

Как вы делаете руками ↔ как это называетсяWhat you do by hand ↔ what it is called

РукамиBy handКак называетсяWhat it is called
двойной клик по .exe и «Далее, Далее»double-click an .exe and "Next, Next"установка через пакетный менеджер (winget) или установщикinstalling via a package manager (winget) or an installer
«Windows не знает, где программа»"Windows does not know where the program is"программы нет в переменной PATHthe program is not on the PATH variable
отдельная папка библиотек для проектаa separate library folder per projectвиртуальное окружение (venv)a virtual environment (venv)
кнопка, которая запускает команды по порядкуa button that runs commands in orderпакетный файл (.bat), скрипт сборкиa batch file (.bat), a build script
17

Визуальная проверка обязательнаVisual check is mandatory

Визуальная проверка обязательна. Зелёный OK скрипта значит «код не упал и одна цифра сошлась». Он не значит, что новый фильтр стоит там, где нужно, что подписи понятны и что английская версия не пестрит русскими словами. После каждой правки откройте дашборд, переключите язык, нажмите новый фильтр и «Откуда цифра?».

Visual check is mandatory. The script's green OK means "the code did not crash and one number matched". It does not mean the new filter sits where it should, the labels are clear and the English version is free of Russian words. After every edit open the dashboard, switch the language, click the new filter and "Where does this number come from?".

18

Что нового в 2025–2026What is new in 2025–2026

⚙️

Свой установщик Claude CodeA native Claude Code installer

Одна команда в PowerShell или cmd, без прав администратора; установленная версия обновляется сама. Git for Windows стал необязательным.

One command in PowerShell or cmd, no admin rights; the installed version updates itself. Git for Windows became optional.

🖥️

Приложение для компьютераA desktop app

Claude Code можно запускать и из отдельного приложения, а не только из терминала. Команды этого урока от этого не меняются.

Claude Code can also be run from a separate desktop app, not only from the terminal. This lesson's commands stay the same.

Правило для любой новинкиThe rule for any novelty Новый инструмент проверяем на своём проекте: та же сборка, та же проверка, те же цифры. Любую новинку — против «как год назад» на своих данных. Test a new tool on your own project: the same build, the same check, the same numbers. Any novelty — against "same as last year" on your own data.

Источник: документация Claude Code — code.claude.com/docs/en/setup, troubleshoot-install, desktop-quickstart (проверено 30.10.2026).

Source: Claude Code documentation — code.claude.com/docs/en/setup, troubleshoot-install, desktop-quickstart (checked 30.10.2026).

19

Как это бывает в жизниHow it happens in real life

Три случая из работы планера в компании-производителе напитков. Названия изменены.

Three cases from planning work at a beverage manufacturer. Names are changed.

1. Кнопка, которая печатала «кракозябры»1. A button that printed garbage

Что случилосьWhat happened
.bat-файл с русскими подсказками у одних работал, у других писал бессмыслицу и не находил команды.A .bat with Russian hints worked for some and printed nonsense and missed commands for others.
Что на самом делеWhat was really going on
cmd читает .bat по байтам в старой кодировке; кириллица ломает строки.cmd reads a .bat byte by byte in an old code page; Cyrillic breaks the lines.
ПравилоRule
В .bat только латиница; русский текст — в Python.Latin only in .bat; Russian text in Python.

2. У меня работает, у коллеги — нет2. Works for me, not for a colleague

Что случилосьWhat happened
Скрипт сборки у коллеги падал с «путь не найден».The build script failed on a colleague's laptop with "path not found".
Что на самом делеWhat was really going on
В скрипте был записан полный путь с именем пользователя, а общая библиотека у коллеги называлась иначе.The script held a full path with a user name, and the colleague's shared library had a different name.
ПравилоRule
Никаких абсолютных путей и имён ноутбука в скриптах; папки — по уровням и содержимому.No absolute paths or laptop names in scripts; find folders by levels and contents.

3. Окружение в OneDrive3. An environment in OneDrive

Что случилосьWhat happened
Установка библиотек шла час, ноутбук «тормозил», а потом скрипт не находил файлы.Installing libraries took an hour, the laptop crawled, and then the script could not find files.
Что на самом делеWhat was really going on
Окружение создали внутри синхронизируемой папки: OneDrive гонял тысячи мелких файлов.The environment was created inside a synced folder: OneDrive was shuffling thousands of small files.
ПравилоRule
Окружение — в папке пользователя вне OneDrive.The environment lives in the user folder outside OneDrive.
20

Практика: чек-лист установки в ExcelPractice: the install checklist in Excel

В книге: «чек-лист» — 14 шагов с командой и способом проверки, колонка «Сделано?»; «итоги» сами считают готовность и подсказывают следующий шаг; «ошибки» — 10 типичных сообщений с причиной и решением.

The workbook: "checklist" — 14 steps with a command and a way to check, a "Done?" column; "totals" calculates readiness and suggests the next step; "errors" — 10 typical messages with cause and fix.

ЗаданияTasks

  1. Сколько шагов в чек-листе и сколько из них в блоке «Первая сборка»?
  2. Отметьте «да» первые восемь шагов. Какую готовность покажут «итоги» и какой шаг они назовут следующим?
  3. Найдите на листе «ошибки» строку для «Python was not found». Что делать?
  4. Пройдите чек-лист на своём компьютере до конца и добейтесь «ИТОГ / RESULT: OK» в проверке.
  1. How many steps does the checklist have and how many are in the "First build" block?
  2. Mark the first eight steps "yes". What readiness will "totals" show and which step will it name next?
  3. On the "errors" sheet find the row for "Python was not found". What to do?
  4. Go through the checklist on your computer to the end and get "ИТОГ / RESULT: OK" from the check.
ОтветыAnswers

1. 14 шагов, из них 5 — «Первая сборка».
2. Готовность 8 ÷ 14 = 57 %, следующий шаг — «Сборка» (python build_dashboard.py); в блоке «Первая сборка» сделан 1 шаг из 5.
3. Переустановить Python с галочкой «Add python.exe to PATH», выключить псевдонимы выполнения приложений для python.exe и открыть новое окно.
4. Вывод должен совпасть с разделом 10: точность 0.9304 на экране и в Python.

1. 14 steps, 5 of them "First build".
2. Readiness 8 ÷ 14 = 57%, the next step is "Build" (python build_dashboard.py); 1 of 5 steps done in the "First build" block.
3. Reinstall Python with "Add python.exe to PATH" ticked, switch off App execution aliases for python.exe and open a new window.
4. The output should match section 10: accuracy 0.9304 on screen and in Python.

21

Частые вопросыFAQ

Кто здесь что делает — Claude, Python или я?Who does what here — Claude, Python or me?

Claude Code пишет и правит код по вашему запросу и показывает изменения. Python выполняет скрипты: считает и собирает файл. Вы ставите задачу, разрешаете запись, запускаете проверку и сверяете цифры.

Claude Code writes and edits code to your request and shows the changes. Python runs the scripts: calculates and builds the file. You set the task, allow the write, run the check and reconcile the numbers.

Можно ли без Claude Code?Can I do without Claude Code?

Да: стартовый набор собирается одним Python. Claude Code нужен, когда вы захотите что-то поменять, а писать код самой не хочется.

Yes: the starter kit builds with Python alone. Claude Code is for when you want to change something without writing code yourself.

Это безопасно для моего компьютера?Is this safe for my computer?

Скрипты набора читают и пишут файлы только в своей папке. Claude Code спрашивает разрешение перед записью и командами. Всё равно читайте, что он предлагает, и не запускайте чужие команды, которые не понимаете.

The kit's scripts read and write files only in their own folder. Claude Code asks permission before writing and running commands. Still read what it proposes and do not run unfamiliar commands you do not understand.

У меня Mac. Что меняется?I have a Mac. What changes?

Команды установки другие — смотрите официальную документацию Claude Code и python.org. Скрипты набора работают, но проверке нужен путь к Chrome на Mac, а вместо .bat — команды в терминале.

The install commands differ — see the official Claude Code docs and python.org. The kit's scripts work, but the check needs the Chrome path on a Mac, and instead of the .bat — commands in the terminal.

22

Упражнение: какая команда нужна?Exercise: which command do you need?

23

Три мифаThree myths

Миф:Myth: терминал — это для программистов.the terminal is for programmers.
На самом деле:In fact: для сборки дашборда хватает пяти команд и привычки читать последнюю строку.five commands and the habit of reading the last line are enough to build a dashboard.
Миф:Myth: установка сломалась — надо всё переставить.the install is broken — reinstall everything.
На самом деле:In fact: чаще всего программа есть, но нет в PATH или окно открыто до установки. Новое окно решает половину случаев.most often the program is there but not on PATH, or the window was opened before the install. A new window fixes half the cases.
Миф:Myth: Claude Code сам всё проверит.Claude Code will check everything itself.
На самом деле:In fact: он запустит проверку, если попросить, но за цифры отвечаете вы: сверка и визуальный просмотр — ваши.it will run the check if asked, but you own the numbers: reconciliation and the visual review are yours.
24

Установка и запуск: отметьте галочкойInstall and run: tick it off

25

Проверьте себяCheck yourself

26

Шпаргалка терминовGlossary

PowerShellтерминал Windows, где пишут командыthe Windows terminal for typing commands
PATHгде Windows ищет программы по имениwhere Windows looks for programs by name
wingetустановщик программ Windows из командной строкиWindows' command-line program installer
venvотдельное окружение библиотек Python для проектаa separate Python library environment per project
.batфайл с командами; только латиницаa file of commands; Latin letters only
cd / dir / mkdirперейти в папку / показать файлы / создать папкуgo to a folder / list files / create a folder
Claude Codeассистент, который пишет и правит код в папке проектаan assistant that writes and edits code in the project folder
Итог урокаLesson summary Поставить → проверить командой → идти дальше. Python и Claude Code ставятся за вечер; папка проекта — короткая и не в OneDrive; пять команд терминала хватает. Сборка: make_data → build → открыть → check, OK — только когда цифра на экране совпала с Python. Правки — запросом-ТЗ к Claude Code, после каждой — сборка, проверка и визуальный просмотр. Свои файлы вместо учебных — урок 05-20. Install → check with a command → move on. Python and Claude Code install in an evening; the project folder is short and not in OneDrive; five terminal commands are enough. Build: make_data → build → open → check, OK only when the on-screen number matches Python. Edits — via a spec-style request to Claude Code, each followed by build, check and a visual review. Your own files instead of training ones — lesson 05-20.
27

Инструкция по установке для себя и для ИТInstall guide for you and for IT

Открыть текст инструкцииOpen the guide text
# Мини-дашборд «Долина напитков»: установка и первая сборка
Для Windows 10 (1809+) и 11, 64-бит. Команды — по официальной документации на 30.10.2026.
## 1. Python 3.12
    winget install --id Python.Python.3.12 -e
Или установщик с python.org — галочка «Add python.exe to PATH».
Проверка (в НОВОМ окне):  python --version
## 2. Терминал
Windows Terminal / PowerShell (в Windows 11 уже есть):
    winget install --id Microsoft.WindowsTerminal -e
## 3. Claude Code (права администратора не нужны)
PowerShell:
    irm https://claude.ai/install.ps1 | iex
Командная строка (cmd):
    curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Проверка (в НОВОМ окне):  claude --version
Первый запуск в папке проекта:  claude  (вход через браузер)
Git for Windows — по желанию:  winget install --id Git.Git -e
## 4. Папка проекта
    mkdir C:\Dashboards\mini
Положите туда 6 файлов стартового набора (урок 05-18). Не в OneDrive.
## 5. Первая сборка (в папке проекта)
    python make_data.py
    python build_dashboard.py
    start mini_dashboard.html
    python check_dashboard.py     ->  ИТОГ / RESULT: OK
Или двойной клик по run_dashboard.bat.
## Для ИТ: что ставим и зачем
- Python 3.12 — запуск скриптов сборки отчётов (python.org).
- Claude Code (Anthropic, https://claude.ai/install.ps1) — ассистент для правки кода отчётов;
  ставится в профиль пользователя, обновляется сам.
- Microsoft Edge или Google Chrome — просмотр отчёта и автоматическая проверка без окна.
- Git for Windows — по желанию, история версий.
Данные компании ассистенту передаются только по правилам компании.
# Valley Beverages mini dashboard: install and first build
For Windows 10 (1809+) and 11, 64-bit. Commands per the official documentation as of 30.10.2026.
## 1. Python 3.12
    winget install --id Python.Python.3.12 -e
Or the python.org installer — tick "Add python.exe to PATH".
Check (in a NEW window):  python --version
## 2. Terminal
Windows Terminal / PowerShell (already in Windows 11):
    winget install --id Microsoft.WindowsTerminal -e
## 3. Claude Code (no admin rights needed)
PowerShell:
    irm https://claude.ai/install.ps1 | iex
Command Prompt (cmd):
    curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Check (in a NEW window):  claude --version
First run in the project folder:  claude  (sign in via the browser)
Git for Windows — optional:  winget install --id Git.Git -e
## 4. Project folder
    mkdir C:\Dashboards\mini
Put the 6 starter kit files there (lesson 05-18). Not in OneDrive.
## 5. First build (in the project folder)
    python make_data.py
    python build_dashboard.py
    start mini_dashboard.html
    python check_dashboard.py     ->  ИТОГ / RESULT: OK
Or double-click run_dashboard.bat.
## For IT: what we install and why
- Python 3.12 — runs the report build scripts (python.org).
- Claude Code (Anthropic, https://claude.ai/install.ps1) — an assistant for editing report code;
  installs into the user profile, updates itself.
- Microsoft Edge or Google Chrome — viewing the report and a windowless automated check.
- Git for Windows — optional, version history.
Company data goes to the assistant only under company rules.
Made on
Tilda