Build your first website · Lesson 10

Manage Your Website
Without Codex.

Use Codex once to prepare a secure browser-based admin, then update the words and photographs in your portfolio by yourself.

Complete beginner3–4 hours · two sessionsNo coding required
A photography portfolio admin dashboard beside its updated public website
Lesson 10Your content, under your control

Your goal

Build the system.
Then use it yourself.

Your Astro site and its design stay in place. The CMS adds a focused editing surface for only the content you choose.

One simple publishing route

DAdmin edit
→
GitHub
→
Cloudflare
→
✓Live site
Edit selected textReplace optimized photosPublish from a browserKeep local work synchronized

The CMS does not redesign your website. It edits only the fields that have been deliberately configured for it.

01

10 minutes

Understand Website Administration

A Content Management System gives you a friendly editing interface without asking you to touch the site’s code.

D
DECAP CMS

The editing room

Change configured text, replace selected photographs, and save from your browser.

+
DECAP TURBO

The secure connection

Connect the CMS to the correct GitHub repository without building your own authentication server.

D
ROUTINE CONTENTDecap CMS

Editable words and photos

DESIGN + FEATURESCodex

Structure and functionality

HISTORYGitHub

Files and every saved version

PUBLISHINGCloudflare

Build and live deployment

YOUR ACTIVITY

Choose what you want to manage without Codex.

Start with content that changes regularly: a short introduction, a project description, or one portfolio photograph. You can expand later.

Checkpoint

02

25 minutes

Prepare Your Portfolio

Begin from a working, synchronized project. Your latest good commit becomes the restoration point for everything that follows.

YOUR MACLocal project
Fetch originPull if available
REMOTEGitHub repository
  1. 01

    Synchronize

    Open your portfolio repository, review unfinished changes, then fetch and pull any available remote work.

  2. 02

    Inspect before changing

    Ask Codex to explain which existing content Decap CMS could manage. No files should change yet.

  3. 03

    Select one text item

    Use a small existing field as the first test. This proves the publishing system before photographs are added.

  4. 04

    Protect the current version

    Commit and push intended work. If everything is already committed, the latest commit is your restoration point.

Inspect the project

“Examine my Astro portfolio and explain which content Decap CMS could manage. Don’t change anything yet.”

RESTORATION POINT
✓
Working website · synchronized repository · chosen text

Checkpoint

03

35–45 minutes

Install Decap CMS

Codex prepares the admin page and connects your chosen text to it while preserving the portfolio’s existing appearance.

Install carefully

“Add Decap CMS to my existing Astro portfolio. Make my selected text editable. Prepare Decap Turbo integration, preserve my design and test the build.”

PUBLIC WEBSITEAstro portfolio
+
/admin/
CONTENT
ADMIN ADDRESS/admin/

Where you manage configured content.

COMMON CONFIG PATHpublic/admin/config.yml

Usually prepared by Codex—not edited manually.

Check before publishing

“Check that my website still works and that the Decap CMS configuration is ready for Decap Turbo.”

Review
→
Commit + push
→
Deploy
→
✓Check live

Checkpoint

04

45–75 minutes

Connect Your Admin Interface

Decap Turbo provides the secure bridge between the published CMS and GitHub. Give it only the access it genuinely needs.

D
YOUR /ADMIN/Decap CMS
→
⌁
AUTHENTICATIONDecap Turbo
→
ONE REPOSITORYGitHub
Choose a suitable current planReview requested permissionsSelect only your portfolio repository when possibleUse the branch deployed by Cloudflare

Register the website

REPOSITORYYour portfolio repo
BRANCHUsually main
CONFIGURATIONActual config.yml path
ADMIN URLyour-site.com/admin/
ID
SITE ID

Configuration value, not a password

Copy it from Decap Turbo and let Codex connect the supported backend. Never put passwords or private access tokens in website files.

Connect the backend

“Connect Decap CMS to Decap Turbo using this Site ID: [YOUR SITE ID]. Verify the backend, branch and configuration.”

Authorized account signs inConfigured content appearsCorrect repository is connectedUnauthorized accounts cannot publish
END OF SESSION 1Your administration is connected.

Pause here if you want. Session 2 begins with a real content update.

Checkpoint

05

35–45 minutes

Edit & Publish Your Content

Prove the system in two passes: publish one small text change, then make one optimized photograph editable and replace it.

PART A · TEXT

First independent edit

  1. Open the published /admin/.
  2. Edit one short sentence and save.
  3. Confirm the change in GitHub.
  4. Wait for Cloudflare to deploy.
  5. Verify the public page.
NO CODEX NEEDED
PART B · PHOTO

Prepare one image

  1. Choose a web-optimized copy.
  2. Keep the high-resolution original elsewhere.
  3. Ask Codex to configure its CMS field.
  4. Publish the configuration.
  5. Upload a replacement in the CMS.
CODEX FOR SETUP ONLY
D
Save→ Commit→ Deploy→LIVE
Make one photo editable

“Make my selected photograph editable through Decap CMS. Preserve its current appearance, configure image uploads correctly and test the website.”

ORIGINAL
→
CMS REPLACEMENT
Correct photographNo distortionLayout unchangedDesktop + mobileValid file path

Checkpoint

06

20 minutes

Manage Your Website Independently

Complete two ordinary updates without Codex. Then learn the one synchronization habit that protects your next development session.

CHALLENGE 01
Aa

Update a text

Sign in, edit, save, wait for deployment, and verify the public page.

CHALLENGE 02

Replace a photograph

Upload an optimized image, save, wait, then check desktop and mobile.

CMS changes the remote repository
≠
Your Mac does not update automatically
PROBLEMFIRST THING TO CHECK
Can’t sign in

Turbo account and site permissions

Can’t save

GitHub connection and permissions

Change doesn’t appear

Cloudflare deployment status

Photograph is missing

Image upload and file path

Website breaks

Recent commits and deployment errors

FINAL KNOWLEDGE CHECK
  1. What is a CMS?
  2. How do Codex and Decap CMS differ?
  3. Where are content changes saved?
  4. What publishes after GitHub changes?
  5. Why synchronize before using Codex?
  6. Can Decap edit everything automatically?

Checkpoint

End of lesson 10

You can manage the everyday work yourself.

Codex builds and improves the website. Decap CMS manages the content you have made editable. GitHub records each change, Cloudflare publishes it, and you remain in control.

PrepareInstallConnectEditPublishSynchronize
Coming next · Lesson 11Choose a Domain, Secure & Maintain Your Website

Connect a personal domain if you want one, protect your accounts, maintain the website, and recover from common problems.