<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arup Bhowmik Pritom</title>
    <description>The latest articles on DEV Community by Arup Bhowmik Pritom (@codewithpritom).</description>
    <link>https://dev.to/codewithpritom</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4054161%2Fe330a7b7-8f78-4e18-b497-7d836d203ec5.jpg</url>
      <title>DEV Community: Arup Bhowmik Pritom</title>
      <link>https://dev.to/codewithpritom</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codewithpritom"/>
    <language>en</language>
    <item>
      <title>From Zero to Live Production: A Beginner's Guide to Git, GitHub, Local Development &amp; Auto-Deployment</title>
      <dc:creator>Arup Bhowmik Pritom</dc:creator>
      <pubDate>Tue, 17 Nov 2026 03:29:26 +0000</pubDate>
      <link>https://dev.to/codewithpritom/from-zero-to-live-production-a-beginners-guide-to-git-github-local-development-auto-deployment-3lo4</link>
      <guid>https://dev.to/codewithpritom/from-zero-to-live-production-a-beginners-guide-to-git-github-local-development-auto-deployment-3lo4</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Project:&lt;/strong&gt; 2D3D Lab (&lt;code&gt;Galahad43/2d3dlab&lt;/code&gt;)&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Audience:&lt;/strong&gt; Complete beginners who just downloaded &lt;strong&gt;VS Code&lt;/strong&gt; and want to understand how real-world project management, Git, GitHub, local testing, bug fixing, and live deployment work together.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Style:&lt;/strong&gt; Story-driven developer blog with simple real-world analogies.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  👋 Introduction: Where Our Journey Starts
&lt;/h2&gt;

&lt;p&gt;Imagine you just installed &lt;strong&gt;VS Code&lt;/strong&gt; on your laptop five minutes ago. Someone invited you as a contributor to a real, live production website on GitHub: &lt;code&gt;https://github.com/Galahad43/2d3dlab&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Your goal is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Bring the project code from GitHub onto your computer.&lt;/li&gt;
&lt;li&gt;Run and test the website locally without breaking the live site.&lt;/li&gt;
&lt;li&gt;Build a new feature (a Google Sites / Wix–style live visual website editor) and fix bugs.&lt;/li&gt;
&lt;li&gt;Send your finished code back to GitHub so it automatically deploys to the live domain (&lt;code&gt;https://www.2d3dlab.com&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's walk through every single step of how this works in plain English!&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Chapter 1: VS Code, Git, and GitHub — Who Does What?
&lt;/h2&gt;

&lt;p&gt;Many beginners confuse &lt;strong&gt;Git&lt;/strong&gt; and &lt;strong&gt;GitHub&lt;/strong&gt;. Let's clear that up forever with a &lt;strong&gt;"Book Writing &amp;amp; Publishing"&lt;/strong&gt; analogy:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;What It Actually Is&lt;/th&gt;
&lt;th&gt;Real-World Analogy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;VS Code&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Your code editor&lt;/td&gt;
&lt;td&gt;Your &lt;strong&gt;notebook and pen&lt;/strong&gt; on your desk where you write and edit chapters.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Git&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Version-control software running locally on your PC&lt;/td&gt;
&lt;td&gt;A &lt;strong&gt;time-machine camera&lt;/strong&gt; sitting next to your notebook. Whenever you finish a paragraph, it takes a permanent snapshot so you can always rewind if you make a mistake.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GitHub&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A cloud platform on the internet for hosting Git projects&lt;/td&gt;
&lt;td&gt;The &lt;strong&gt;central publishing house / cloud vault&lt;/strong&gt; where the master copy lives and multiple contributors collaborate safely.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🔑 Chapter 2: Bringing the Project Home (&lt;code&gt;git clone&lt;/code&gt;) &amp;amp; The Two-Key Mystery
&lt;/h2&gt;

&lt;h3&gt;
  
  
  ❌ Mistake #1: Pasting a URL Directly into the Terminal
&lt;/h3&gt;

&lt;p&gt;At the start, we tried pasting the repository URL directly into Git Bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;$ https://github.com/Galahad43/2d3dlab
bash: https://github.com/Galahad43/2d3dlab: No such file or directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why did that happen?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
A terminal is like a literal robot. If you just hand it a web address, it assumes you're trying to launch a program on your hard drive with that name. You have to give it the exact command: &lt;em&gt;"Use Git to clone (copy) this repository here"&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;REPO_URL&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;(Notice the dot &lt;code&gt;.&lt;/code&gt; at the end—that tells Git: "Put the files directly inside the folder I'm already in instead of creating a new subfolder.")&lt;/em&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  🔐 Mystery #2: "I Accepted the Invite—Why Does Git Say &lt;code&gt;Repository not found&lt;/code&gt;?!"
&lt;/h3&gt;

&lt;p&gt;This was one of the coolest troubleshooting moments of the whole project.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Galahad43/2d3dlab&lt;/code&gt; is a &lt;strong&gt;Private Repository&lt;/strong&gt; (think of it as a locked room). The owner invited your GitHub account &lt;strong&gt;&lt;code&gt;CodeWithPritom&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;pritombhowmik360@gmail.com&lt;/code&gt;), and you accepted the invite in your browser—so you could see the repo on GitHub.com. Yet when Git tried to download it from the terminal, GitHub replied:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ERROR: Repository not found.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why?&lt;/strong&gt; Think of &lt;strong&gt;house keys&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your Windows PC had &lt;strong&gt;two GitHub SSH keys&lt;/strong&gt; stored inside &lt;code&gt;~/.ssh/&lt;/code&gt;:

&lt;ol&gt;
&lt;li&gt;One key belonging to &lt;strong&gt;&lt;code&gt;Pritom-360&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;~/.ssh/id_ed25519&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Another key belonging to &lt;strong&gt;&lt;code&gt;CodeWithPritom&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;~/.ssh/id_ed25519_codewithpritom&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;When we used the default address &lt;code&gt;git@github.com&lt;/code&gt;, Git automatically pulled out the &lt;strong&gt;&lt;code&gt;Pritom-360&lt;/code&gt;&lt;/strong&gt; key and knocked on the door of &lt;code&gt;Galahad43/2d3dlab&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Since &lt;strong&gt;&lt;code&gt;Pritom-360&lt;/code&gt;&lt;/strong&gt; was &lt;em&gt;not&lt;/em&gt; on the guest list (only &lt;strong&gt;&lt;code&gt;CodeWithPritom&lt;/code&gt;&lt;/strong&gt; was!), GitHub hid the room completely for security and said &lt;code&gt;Repository not found&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Fix:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Your &lt;code&gt;~/.ssh/config&lt;/code&gt; file already defined a custom host alias &lt;code&gt;github-codewithpritom&lt;/code&gt; linked to &lt;code&gt;CodeWithPritom&lt;/code&gt;'s key. Once we pointed Git to that alias, the door unlocked instantly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Standard clone into an empty folder:&lt;/span&gt;
git clone git@github-codewithpritom:Galahad43/2d3dlab.git .

&lt;span class="c"&gt;# Or, when a file (like doc.md) already exists in the folder:&lt;/span&gt;
git init
git remote add origin git@github-codewithpritom:Galahad43/2d3dlab.git
git fetch origin
git checkout -b main origin/main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🍳 Chapter 3: Testing in Your Own Kitchen (&lt;code&gt;localhost&lt;/code&gt; &amp;amp; Local MySQL)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Analogy:&lt;/strong&gt; Before serving a new dish to 1,000 wedding guests, a chef always cooks and tastes a test batch in their &lt;strong&gt;own kitchen&lt;/strong&gt; first!&lt;br&gt;&lt;br&gt;
In software engineering, you never edit a live production website blindly. You run a safe copy on your own computer (&lt;code&gt;localhost&lt;/code&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Starting a Local Web Server:&lt;/strong&gt;
With &lt;strong&gt;PHP 8.2&lt;/strong&gt; installed on your machine, one command turns your project folder into a working local web server:
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   php -S localhost:8000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Open &lt;code&gt;http://localhost:8000&lt;/code&gt; in your browser, and the website runs right on your PC.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Local Database vs. Live ProCloudify Database:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;The live site runs on &lt;strong&gt;ProCloudify&lt;/strong&gt; hosting. For security, hosting providers firewall MySQL port &lt;code&gt;3306&lt;/code&gt; so external computers cannot connect directly over the public internet.&lt;/li&gt;
&lt;li&gt;So we created a matching local database named &lt;code&gt;ddlabcom_wp909&lt;/code&gt; inside your local XAMPP MySQL server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Environment Switch (&lt;a href="//db.php"&gt;db.php&lt;/a&gt;):&lt;/strong&gt; We updated &lt;a href="//db.php"&gt;db.php&lt;/a&gt; to inspect the host name:

&lt;ul&gt;
&lt;li&gt;When accessed on the live domain (&lt;code&gt;2d3dlab.com&lt;/code&gt;), it connects straight to the live ProCloudify cPanel database credentials.&lt;/li&gt;
&lt;li&gt;When accessed on &lt;code&gt;localhost&lt;/code&gt; or &lt;code&gt;127.0.0.1&lt;/code&gt;, it uses your local XAMPP MySQL credentials (&lt;code&gt;root&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;That means &lt;strong&gt;zero risk of breaking production credentials&lt;/strong&gt; when deploying!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Want real live data on your local PC?&lt;/strong&gt; Go to ProCloudify cPanel → &lt;strong&gt;phpMyAdmin&lt;/strong&gt; → select &lt;code&gt;ddlabcom_wp909&lt;/code&gt; → &lt;strong&gt;Export&lt;/strong&gt; (downloads &lt;code&gt;.sql&lt;/code&gt;) → open local phpMyAdmin (&lt;code&gt;http://127.0.0.1/phpmyadmin/&lt;/code&gt;) → select &lt;code&gt;ddlabcom_wp909&lt;/code&gt; → &lt;strong&gt;Import&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  🎨 Chapter 4: Real-World Engineering — UX Fixes &amp;amp; Building the Visual Editor
&lt;/h2&gt;

&lt;p&gt;Once the project was running locally, we audited every page and fixed major UI/UX and logic issues before building the live editor:&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Why Buttons Only Worked at the Very Corner (&lt;code&gt;includes/header.php&lt;/code&gt;)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Bug:&lt;/strong&gt; The top navigation bar (&lt;code&gt;header.site-header&lt;/code&gt;) had &lt;code&gt;position: fixed; top: 0; background-color: transparent;&lt;/code&gt;. Even though it looked invisible before scrolling, its transparent box sat &lt;em&gt;on top of&lt;/em&gt; the first ~90px of every page—swallowing mouse clicks on the Hero Slider and builder buttons unless your cursor hit the exact edge! Plus, &lt;code&gt;.content-container&lt;/code&gt; was used across pages without ever being defined in CSS, and hardcoded &lt;code&gt;margin-left: 5rem;&lt;/code&gt; rules in &lt;a href="//portfolio.php"&gt;portfolio.php&lt;/a&gt; broke mobile layouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Fix:&lt;/strong&gt; We changed the navbar to a clean, classic solid white sticky header (&lt;code&gt;position: sticky; top: var(--builder-offset, 0px);&lt;/code&gt;, with &lt;code&gt;overflow-x: clip&lt;/code&gt; on &lt;code&gt;html, body&lt;/code&gt; so sticky behavior stays intact), defined &lt;code&gt;.content-container&lt;/code&gt; globally, and made all page grids responsive across mobile, tablet, and desktop.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  2. Google Sites / Wix–Style Real-Time Visual Builder
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Built across &lt;a href="//includes/visual_builder.php"&gt;includes/visual_builder.php&lt;/a&gt;, &lt;a href="//admin_api.php"&gt;admin_api.php&lt;/a&gt;, and &lt;a href="//includes/cms_helpers.php"&gt;includes/cms_helpers.php&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Flickering Hover Bars:&lt;/strong&gt; Instead of buttons appearing only on hover (which disappeared as soon as the mouse moved or the carousel auto-slid every 5 seconds), admin mode pauses carousel auto-advance and docks a permanent control header (&lt;code&gt;.cms-block-header&lt;/code&gt;) onto every editable slide, card, and section (&lt;code&gt;✏️ Edit&lt;/code&gt;, &lt;code&gt;🖼️ Image&lt;/code&gt;, &lt;code&gt;⬆&lt;/code&gt;, &lt;code&gt;⬇&lt;/code&gt;, &lt;code&gt;🗑️&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drag-and-Drop + Components Library:&lt;/strong&gt; Admins can open &lt;code&gt;+ Components Library&lt;/code&gt; to insert new Hero Slides, Feature Cards, Portfolio Cards, Content Sections (text + image), and CTA Banners in real time, drag cards (&lt;code&gt;⠿&lt;/code&gt;) to reorder them, upload images directly, and click any highlighted headline or footer text to edit and persist it in &lt;code&gt;site_settings&lt;/code&gt; (&lt;code&gt;cms_text()&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict Security:&lt;/strong&gt; Normal visitors and regular customers receive &lt;strong&gt;zero&lt;/strong&gt; builder HTML, CSS, or JavaScript, and &lt;code&gt;admin_api.php&lt;/code&gt; rejects any non-admin request.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  3. Core Store &amp;amp; Customer Flow Fixes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Customer Sign-Up &amp;amp; Sign-In (&lt;a href="//register.php"&gt;register.php&lt;/a&gt;, &lt;a href="//login.php"&gt;login.php&lt;/a&gt;):&lt;/strong&gt; Added password confirmation, minimum 6-character validation, default &lt;code&gt;'user'&lt;/code&gt; role assignment, and safe &lt;code&gt;?redirect=...&lt;/code&gt; preservation (&lt;code&gt;safe_redirect_target()&lt;/code&gt;) so customers logging in during checkout go straight back to checkout.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shop Filtering &amp;amp; Service Booking (&lt;a href="//services-2d.php"&gt;services-2d.php&lt;/a&gt;, &lt;a href="//services-3d.php"&gt;services-3d.php&lt;/a&gt;, &lt;a href="//shop.php"&gt;shop.php&lt;/a&gt;):&lt;/strong&gt; Fixed broken &lt;code&gt;?category=2d&lt;/code&gt; / &lt;code&gt;?category=3d&lt;/code&gt; links to use &lt;code&gt;?dimension=2D&lt;/code&gt; / &lt;code&gt;?dimension=3D&lt;/code&gt; (plus &lt;code&gt;category&lt;/code&gt; alias support in &lt;code&gt;shop.php&lt;/code&gt;), ensured &lt;code&gt;service_requests&lt;/code&gt; table creation, auto-filled logged-in customer details, and removed stray &lt;code&gt;zzz&lt;/code&gt; text at the bottom of &lt;code&gt;shop.php&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkout &amp;amp; Orders (&lt;a href="//checkout.php"&gt;checkout.php&lt;/a&gt;, &lt;a href="//order_process.php"&gt;order_process.php&lt;/a&gt;, &lt;a href="//dashboard.php"&gt;dashboard.php&lt;/a&gt;, &lt;a href="//order-details.php"&gt;order-details.php&lt;/a&gt;, &lt;a href="//admin.php"&gt;admin.php&lt;/a&gt;):&lt;/strong&gt; Saved order price (&lt;code&gt;total_amount&lt;/code&gt;), currency, and customer info dynamically based on table columns, fixed &lt;code&gt;$_SESSION['email']&lt;/code&gt; → &lt;code&gt;$_SESSION['user_email']&lt;/code&gt; in &lt;code&gt;order_process.php&lt;/code&gt;, and replaced broken &lt;code&gt;assets/placeholder.jpg&lt;/code&gt; fallbacks with &lt;code&gt;assets/banner.jpg&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  📦 Chapter 5: The Gatekeeper (&lt;code&gt;.gitignore&lt;/code&gt;), Packing the Box (&lt;code&gt;Commit&lt;/code&gt;) &amp;amp; Shipping (&lt;code&gt;Push&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;After testing every route and flow locally, it was time to ship our changes to GitHub. Think of this like &lt;strong&gt;sending a courier parcel&lt;/strong&gt;:&lt;/p&gt;
&lt;h3&gt;
  
  
  1. The Gatekeeper List: &lt;a href="//.gitignore"&gt;&lt;code&gt;.gitignore&lt;/code&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Before packing a shipping box from your desk, you make sure your coffee mug and scratch paper stay off the parcel list.&lt;br&gt;&lt;br&gt;
&lt;code&gt;.gitignore&lt;/code&gt; acts as that gatekeeper:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;includes/currency_rates_cache.json
uploads/
*.log
*.tmp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This ensures local cache files, test cookies, and your local &lt;code&gt;uploads/&lt;/code&gt; folder are never pushed to GitHub and never overwrite live uploaded product images on the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The 4 Commands to Ship Code
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/strong&gt; → &lt;em&gt;Look at your desk to see which files are modified or untracked.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;git add -A&lt;/code&gt;&lt;/strong&gt; → &lt;em&gt;Place all intended files inside the shipping box (&lt;/em&gt;&lt;em&gt;Staging Area&lt;/em&gt;&lt;em&gt;).&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;git commit -m "Add Realtime Visual Builder..."&lt;/code&gt;&lt;/strong&gt; → &lt;em&gt;Tape the box shut and write a clear label on it (creating checkpoint commit *&lt;/em&gt;&lt;code&gt;73a8f0c&lt;/code&gt;*&lt;em&gt;).&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;git push origin main&lt;/code&gt;&lt;/strong&gt; → &lt;em&gt;Hand the sealed box to the courier to deliver it to the *&lt;/em&gt;&lt;code&gt;main&lt;/code&gt;** branch on GitHub (&lt;code&gt;origin&lt;/code&gt;)!*&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🤖 Chapter 6: The Automated Delivery Robot (GitHub Actions CI/CD)
&lt;/h2&gt;

&lt;p&gt;Minutes after running &lt;code&gt;git push origin main&lt;/code&gt;, the live site at &lt;code&gt;https://www.2d3dlab.com&lt;/code&gt; automatically updated—without anyone opening cPanel or dragging files manually!&lt;/p&gt;

&lt;p&gt;How? Because of &lt;a href="//.github/workflows/deploy.yml"&gt;&lt;code&gt;.github/workflows/deploy.yml&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Analogy:&lt;/strong&gt; Think of &lt;strong&gt;GitHub Actions&lt;/strong&gt; as a &lt;strong&gt;24/7 robotic delivery van&lt;/strong&gt; parked inside GitHub's warehouse.&lt;/li&gt;
&lt;li&gt;Every time a new commit arrives on the &lt;code&gt;main&lt;/code&gt; branch, the robot wakes up, reads the encrypted &lt;code&gt;FTP_SERVER&lt;/code&gt;, &lt;code&gt;FTP_USERNAME&lt;/code&gt;, and &lt;code&gt;FTP_PASSWORD&lt;/code&gt; stored safely in &lt;strong&gt;GitHub Secrets&lt;/strong&gt;, and runs &lt;code&gt;SamKirkland/FTP-Deploy-Action@v4.3.5&lt;/code&gt; to sync the updated code directly into ProCloudify's &lt;code&gt;./public_html/&lt;/code&gt; folder—keeping the live database and existing uploads untouched.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧰 Chapter 7: Daily Developer Cheatsheet &amp;amp; Team Best Practices
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🔄 Your Everyday 4-Step Loop
&lt;/h3&gt;

&lt;p&gt;Whenever you open VS Code to make a change in the future, follow this simple loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Pull any updates teammates pushed while you were away&lt;/span&gt;
git pull origin main

&lt;span class="c"&gt;# 2. Edit in VS Code &amp;amp; test locally (php -S localhost:8000), then inspect changes&lt;/span&gt;
git status

&lt;span class="c"&gt;# 3. Pack and label your snapshot&lt;/span&gt;
git add -A
git commit -m &lt;span class="s2"&gt;"Describe clearly what you changed"&lt;/span&gt;

&lt;span class="c"&gt;# 4. Ship to GitHub (triggers automatic live deployment!)&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  🌿 Working on Bigger Features Safely (Branching &amp;amp; Pull Requests)
&lt;/h3&gt;

&lt;p&gt;When working on a multi-day feature in a team, never leave half-finished code on &lt;code&gt;main&lt;/code&gt;. Create a side lane (&lt;strong&gt;Branch&lt;/strong&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git checkout -b feature/new-gallery    &lt;span class="c"&gt;# Create &amp;amp; switch to a safe side lane&lt;/span&gt;
&lt;span class="c"&gt;# ... edit and commit on your branch ...&lt;/span&gt;
git push -u origin feature/new-gallery &lt;span class="c"&gt;# Push the branch to GitHub&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;strong&gt;Compare &amp;amp; pull request&lt;/strong&gt; on GitHub so teammates can review your changes before merging into &lt;code&gt;main&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔐 Quick Credentials &amp;amp; Testing Reference
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Run Local Server:&lt;/strong&gt; &lt;code&gt;php -S localhost:8000&lt;/code&gt; → visit &lt;code&gt;http://localhost:8000&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Test Admin Account (Local MySQL Only):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Login URL:&lt;/strong&gt; &lt;code&gt;http://localhost:8000/login.php&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email:&lt;/strong&gt; &lt;code&gt;admin@2d3dlab.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password:&lt;/strong&gt; &lt;code&gt;admin123&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Production Website (&lt;code&gt;https://www.2d3dlab.com&lt;/code&gt;):&lt;/strong&gt;
Your live ProCloudify database (&lt;code&gt;users&lt;/code&gt;, &lt;code&gt;products&lt;/code&gt;, &lt;code&gt;orders&lt;/code&gt;, &lt;code&gt;site_content&lt;/code&gt;) was never altered or overwritten. Log in at &lt;code&gt;https://www.2d3dlab.com/login.php&lt;/code&gt; using your &lt;strong&gt;real live admin email and password&lt;/strong&gt; to use the Visual Builder on the live site!&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Happy Coding! Every experienced developer started right where you are—running their very first &lt;code&gt;git clone&lt;/code&gt; and &lt;code&gt;git push&lt;/code&gt;.&lt;/em&gt; 💻✨&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Ghost Mentor Match: Channeling Coding Spirits &amp; a Git Ofrenda with Qwen &amp; Gemma</title>
      <dc:creator>Arup Bhowmik Pritom</dc:creator>
      <pubDate>Sun, 01 Nov 2026 06:14:34 +0000</pubDate>
      <link>https://dev.to/codewithpritom/ghost-mentor-match-channeling-coding-spirits-a-git-ofrenda-with-qwen-gemma-4m15</link>
      <guid>https://dev.to/codewithpritom/ghost-mentor-match-channeling-coding-spirits-a-git-ofrenda-with-qwen-gemma-4m15</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foj9vuwaca2y4sbvjerxe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foj9vuwaca2y4sbvjerxe.png" alt=" " width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Every software project is haunted. Beneath the clean production UI lives a graveyard of deleted functions, abandoned architectures, &lt;code&gt;TODO&lt;/code&gt; comments from years ago, and 2:00 AM debugging sessions where the machine seems to have a mind of its own.&lt;/p&gt;

&lt;p&gt;Inspired by the OctoberFest &lt;code&gt;mentor-match&lt;/code&gt; architecture and this week's &lt;strong&gt;Ghost in the Machine&lt;/strong&gt; theme, I built &lt;strong&gt;Ghost Mentor Match: The Spirit in the Machine&lt;/strong&gt;—an open-source AI mentorship and Día de los Muertos code-remembrance platform.&lt;/p&gt;

&lt;p&gt;The application bridges both halves of the challenge prompt through two interactive experiences:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Séance Mentor Match (Haunted Debugging &amp;amp; Architecture):&lt;/strong&gt; Instead of generic chatbot answers, developers input their current tech stack, stack trace, or architectural roadblock. The system calculates compatibility scores and matches them with specialized "Coding Spirits"—AI mentor personas channeling the wisdom of Unix pioneers, systems kernel phantoms, and distributed-systems veterans. You open a live "Séance Session" where the mentor diagnoses your bug with eerie terminal poetry backed by concrete, senior-level engineering fixes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Día de los Muertos Digital Code Ofrenda:&lt;/strong&gt; In the spirit of November 1 and 2, developers can paste deleted &lt;code&gt;git log&lt;/code&gt; commits, deprecated modules, or sunsetted side projects onto a glowing digital altar adorned with marigolds (&lt;em&gt;cempasúchil&lt;/em&gt;) and candlelight. The open-weight model reads the diff context and composes a heartfelt tribute honoring how that deleted code gave its life so today's production build could survive.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Ghost Mentor Matching &amp;amp; Compatibility Dashboard&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fimhdo3xpl7lwybthpcpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fimhdo3xpl7lwybthpcpp.png" alt=" " width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Live Séance Debugging Chat (Powered by Qwen 3.8-27B &amp;amp; Local Gemma)&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4ts3s85fszyduwx2cbw6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4ts3s85fszyduwx2cbw6.png" alt=" " width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;code&gt;https://github.com/CodeWithPritom/mentor-match&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I designed and built &lt;strong&gt;Ghost Mentor Match&lt;/strong&gt; with an open-source AI core from the ground up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight Models at the Core (&lt;code&gt;Qwen 3.8-27B&lt;/code&gt; &amp;amp; &lt;code&gt;Google Gemma 2&lt;/code&gt;):&lt;/strong&gt; The primary reasoning and persona-matching engine is powered by the open-weight &lt;strong&gt;Qwen 3.8-27B (&lt;code&gt;qwen-3.8-27b&lt;/code&gt;)&lt;/strong&gt; model running on ultra-fast &lt;strong&gt;Cerebras Cloud&lt;/strong&gt; inference, paired with a native local inference fallback using &lt;strong&gt;Google's Gemma (&lt;code&gt;gemma2:2b&lt;/code&gt;)&lt;/strong&gt; via &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;http://localhost:11434&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UI/UX Design in Figma Make:&lt;/strong&gt; I crafted the dark obsidian interface (&lt;code&gt;#090A0F&lt;/code&gt;) in &lt;strong&gt;Figma Make&lt;/strong&gt;, blending spectral cyan terminal diagnostics (&lt;code&gt;#00F5D4&lt;/code&gt;) with warm Día de los Muertos marigold gold (&lt;code&gt;#FFB703&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Lock-In Architecture:&lt;/strong&gt; Built on top of the OctoberFest &lt;code&gt;mentor-match&lt;/code&gt; workflow using modern React/Tailwind and an OpenAI-compatible open-weight inference adapter. Switching between cloud-hosted open weights (Cerebras) and 100% offline local weights (Ollama + Gemma) takes a single toggle in the UI.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Building a developer mentorship tool that inspects broken stack traces and private &lt;code&gt;git&lt;/code&gt; histories highlights exactly why &lt;strong&gt;open-weight models and open innovation&lt;/strong&gt; beat closed, proprietary APIs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Total Privacy for Proprietary Code &amp;amp; Git History:&lt;/strong&gt; When you are debugging a broken authentication flow or building an &lt;em&gt;ofrenda&lt;/em&gt; from your repository's &lt;code&gt;git log&lt;/code&gt;, you are handling internal file paths, business logic, and commit histories. Running &lt;strong&gt;Gemma locally&lt;/strong&gt; or routing through self-controlled open weights ensures sensitive source code isn't harvested to train a closed vendor's next commercial model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works When the Lights (and Internet) Go Out:&lt;/strong&gt; A true "Ghost in the Machine" shouldn't crash with an &lt;code&gt;APIConnectionError&lt;/code&gt; when your Wi-Fi drops during a late-night coding session. By supporting local open weights on consumer hardware, developers can summon mentor diagnostics completely offline at &lt;strong&gt;$0.00 token cost&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Disappearing Spirits (Zero Vendor Lock-In):&lt;/strong&gt; Closed APIs deprecate model checkpoints overnight, breaking carefully tuned system personas. Because &lt;strong&gt;Qwen&lt;/strong&gt; and &lt;strong&gt;Gemma&lt;/strong&gt; are open-weight models, the exact weights powering our mentor personas and Día de los Muertos tributes belong to the community forever.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;During the rapid build sprint from the OctoberFest makeathon to final deployment, I used &lt;strong&gt;Cursor&lt;/strong&gt; alongside &lt;strong&gt;GitHub Copilot&lt;/strong&gt; to scaffold the multi-model inference adapter (bridging Cerebras &lt;code&gt;qwen-3.8-27b&lt;/code&gt; and local Ollama &lt;code&gt;gemma2:2b&lt;/code&gt;), wire up the interactive Día de los Muertos altar state, and refine the responsive Figma Make UI components.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The moment this project truly landed was when I ran a real commit log from an old, abandoned student project through the &lt;strong&gt;Día de los Muertos Code Ofrenda&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Seeing a deleted 300-line authentication module honored on screen—with glowing marigold cards reminding me that &lt;em&gt;"no code is truly wasted if it taught the hands that wrote the next version"&lt;/em&gt;—genuinely hit different. As developers, we spend so much time deleting, refactoring, and moving on that we rarely pause to appreciate the messy early commits that carried us forward. Turning &lt;code&gt;git log&lt;/code&gt; from a dry audit trail into a living altar of engineering memories captured the exact thin line between past and present that Halloween and Día de los Muertos represent.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Meetup in Dhaka City</title>
      <dc:creator>Arup Bhowmik Pritom</dc:creator>
      <pubDate>Thu, 30 Jul 2026 03:42:19 +0000</pubDate>
      <link>https://dev.to/codewithpritom/meetup-in-dhaka-city-2onn</link>
      <guid>https://dev.to/codewithpritom/meetup-in-dhaka-city-2onn</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkrfrwstox78shhg69hlc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkrfrwstox78shhg69hlc.jpg" alt=" " width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I recently had the opportunity to attend "Build, Deploy &amp;amp; Get Paid – Using Cursor, Terraform &amp;amp; Stripe" in Dhaka.&lt;br&gt;
It was a valuable experience to learn from experienced professionals, explore modern development workflows, and understand how AI-assisted development, Infrastructure as Code, and online payment integration are shaping today's software industry.&lt;br&gt;
One of the most rewarding parts of the event was meeting passionate developers, engineers, and tech enthusiasts. Conversations with people from different backgrounds reminded me that continuous learning and networking are just as important as technical skills.&lt;br&gt;
A sincere thank you to the organizers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cursor Dhaka Community&lt;/li&gt;
&lt;li&gt;Dhaka HashiCorp User Group&lt;/li&gt;
&lt;li&gt;Stripe Dhaka Community
for organizing such an insightful event and creating a platform where students and professionals can learn and connect.
As a Computer Science student, I look forward to participating in more community events, expanding my knowledge, and building meaningful connections within the tech ecosystem.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>productivity</category>
      <category>career</category>
      <category>cursor</category>
    </item>
  </channel>
</rss>
