Build your first website · Lesson 02

Connect Your
Development Tools.

Let’s get your tools ready. Today, you’ll connect the services that will help you build and publish your photography portfolio.

Complete beginner20–30 minutesNo coding required
A laptop connected through a repository to a cloud publishing platform
Lesson 02Connect the complete workflow

Your goal

Your toolkit.
Ready to build.

In Lesson 01, you created your accounts. Today, you’ll install GitHub Desktop, connect it to GitHub, create and download your portfolio repository, then prepare Cloudflare for your future website.

Your future workflow

Codex→Your computer→GitHub Desktop→GitHub→Cloudflare Workers

GitHub Desktop

Manages changes on your computer and sends them to GitHub.

GitHub

Stores your project and its history online.

Cloudflare Workers

Will host and publish the website when its files are ready.

You won’t write any code today. You are only preparing the tools and your project folder.

01

3 minutes

Understand Your Tools

How will everything work together? Follow the path from your idea to a published website.

Codexhelps create files
→
Your computerkeeps local files
→
GitHub Desktopmanages changes
→
GitHubstores the project
→
Cloudflare Workershosts the website

Each tool has a specific purpose

Manage and store
GitHub Desktop→ GitHub

Desktop manages changes on your computer. GitHub stores the project online and keeps its history.

Host and publish
GitHub→ Workers

Once deployment is configured, Cloudflare Workers can build and publish changes pushed to the production branch.

Three useful words

Commit

Save a checkpoint in your project’s history.

Push

Send saved commits from your computer to GitHub.

Deploy

Publish a version of your website online.

02

10 minutes

Install GitHub Desktop

Install the bridge between the project on your computer and your GitHub account.

Download GitHub Desktop ↗
macOS
  1. Download GitHub Desktop.
  2. Open the downloaded file.
  3. Move the app into Applications if needed.
  4. Launch GitHub Desktop.
Windows
  1. Download GitHub Desktop.
  2. Open the installer.
  3. Wait for installation to finish.
  4. Launch GitHub Desktop.
  1. 01

    Sign in to GitHub.com

    When GitHub Desktop opens, choose Sign in to GitHub.com. Your browser will open so you can use the account created in Lesson 01.

  2. 02

    Authorize GitHub Desktop

    Follow the authorization instructions in your browser, then return to the desktop application.

  3. 03

    Configure your Git identity

    Use a name you are comfortable associating with your work. For email, use an address linked to GitHub or GitHub’s private no-reply address.

  4. 04

    Verify the account

    On macOS, open GitHub Desktop → Settings → Accounts. On Windows, open File → Options → Accounts. Your GitHub account should appear as connected.

Checkpoint

03

7 minutes

Create Your First Repository

Prepare a home for your future portfolio.

A repository is where your website files and their history will be stored. You will create one now, without writing any code.

Create a GitHub repository ↗
Repository settingszia-portfolio

My photography portfolio

Private · Add a README file
  1. 01

    Enter the details

    Name the repository zia-portfolio, add the description My photography portfolio, and choose Private. Your website can still be public when you publish it later.

  2. 02

    Initialize the repository

    Enable Add a README file, then select Create repository. A README describes the project; GitHub creates it automatically, and you do not need to edit it today.

  3. 03

    Clone with GitHub Desktop

    Return to GitHub Desktop and choose File → Clone Repository. In the GitHub.com tab, select zia-portfolio.

  4. 04

    Choose its local home

    Select a folder where you want to keep your projects, then click Clone.

GitHubOnline repository
→ Clone →
Your computerLocal project folder

Checkpoint

04

5 minutes

Prepare Cloudflare Workers

Discover where your website will be published—without creating an application today.

Cloudflare is the service we’ll use to make your portfolio accessible online. For your Astro website, we’ll use Cloudflare Workers.

zia-portfolioProduction branch
→Import later→
Cloudflare WorkersBuilds and deploys
Open Cloudflare Dashboard ↗
  1. 01

    Open Cloudflare

    Sign in with the account created during Lesson 01.

  2. 02

    Find Workers & Pages

    This section contains two services: Workers, which we’ll use for your Astro portfolio, and Pages, another service that can also publish websites.

  3. 03

    Understand the next step

    Later, we’ll use Workers & Pages → Create application → Import a repository to connect GitHub and configure automatic publishing.

Preparation, not deploymentGitHub → Import a repository → Cloudflare Workers

Today, simply find the correct dashboard. The GitHub connection and automatic publishing configuration come later.

Checkpoint

05

3 minutes

Final Check

Everything is ready for the next lesson. Let’s check your progress.

GitHub Desktop

Installed and connected to your GitHub account.

GitHub

Your portfolio repository has been created.

Your computer

The repository has been cloned locally.

Cloudflare Workers

You can access the dashboard and know where to find Workers.

Lesson 02 checklist

Codex
→
Astro
→
GitHub Desktop
→
GitHub
→
Cloudflare Workers
Coming nextLesson 03 — Design Your Photography Portfolio

You’ll discover inspiring websites, choose your favorite designs, and define the visual identity of your portfolio. Later, we’ll use Codex and Astro to bring your ideas to life.

End of lesson 02

Your development tools are ready.

You’ve prepared everything needed before starting your photography portfolio. You understand the role of each tool and have a project folder ready on your computer. No coding was necessary.

Codex → Astro → GitHub Desktop → GitHub → Cloudflare Workers