GitHub Desktop
Manages changes on your computer and sends them to GitHub.
Build your first website · Lesson 02
Let’s get your tools ready. Today, you’ll connect the services that will help you build and publish your photography portfolio.
Your goal
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
Manages changes on your computer and sends them to GitHub.
Stores your project and its history online.
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.
3 minutes
How will everything work together? Follow the path from your idea to a published website.
Desktop manages changes on your computer. GitHub stores the project online and keeps its history.
Once deployment is configured, Cloudflare Workers can build and publish changes pushed to the production branch.
Save a checkpoint in your project’s history.
Send saved commits from your computer to GitHub.
Publish a version of your website online.
10 minutes
Install the bridge between the project on your computer and your GitHub account.
Download GitHub Desktop ↗When GitHub Desktop opens, choose Sign in to GitHub.com. Your browser will open so you can use the account created in Lesson 01.
Follow the authorization instructions in your browser, then return to the desktop application.
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.
On macOS, open GitHub Desktop → Settings → Accounts. On Windows, open File → Options → Accounts. Your GitHub account should appear as connected.
7 minutes
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 ↗My photography portfolio
Private · Add a README fileName the repository zia-portfolio, add the description My photography portfolio, and choose Private. Your website can still be public when you publish it later.
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.
Return to GitHub Desktop and choose File → Clone Repository. In the GitHub.com tab, select zia-portfolio.
Select a folder where you want to keep your projects, then click Clone.
5 minutes
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.
Open Cloudflare Dashboard ↗Sign in with the account created during Lesson 01.
This section contains two services: Workers, which we’ll use for your Astro portfolio, and Pages, another service that can also publish websites.
Later, we’ll use Workers & Pages → Create application → Import a repository to connect GitHub and configure automatic publishing.
3 minutes
Everything is ready for the next lesson. Let’s check your progress.
Installed and connected to your GitHub account.
Your portfolio repository has been created.
The repository has been cloned locally.
You can access the dashboard and know where to find Workers.
End of lesson 02
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.