---
title: Deploy ClassicPress with AI on Blossom
url: "/deploy/classicpress/"
canonical_url: https://blossom88.com/deploy/classicpress/
markdown_url: https://blossom88.com/deploy/classicpress.md
summary: Publish a post in ClassicPress and keep its media and theme across Container
  updates.
categories:
- deployment
- cms
stack:
- PHP
- Apache
- MariaDB
---

# Deploy ClassicPress with AI on Blossom

[ClassicPress](https://www.classicpress.net/) is a content management
system for people who prefer the classic WordPress editing experience.
Start with a post, an image, and one of the bundled themes.

## Ask Your Agent

> **Ask your AI agent:** Deploy ClassicPress privately on Blossom and help me publish a post with an image and a theme.
>
> Follow this guide: https://blossom88.com/deploy/classicpress/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| ClassicPress | Serve the website and administration area | Persistent Service |
| MariaDB | Store users, posts, and site settings | Blossom Managed Data |
| Volume | Keep themes, configuration, and uploads | Blossom Persistent Capacity |

## Deploy ClassicPress

Run a [Persistent Service](/docs/apps/persistent-services/) with managed
MariaDB. Keep Account access enabled while you install the site and
create the first administrator.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the [project’s Apache image](https://github.com/ClassicPress/docker-images)
and attach a Volume at `/var/www/html`. Map the linked private MariaDB URL
to the image’s ClassicPress database settings. Keep the generated site
configuration on the Volume. Use the protected browser installer or supply
the administrator password to WP-CLI over standard input. If the first
admin visit prompts for an update, choose **Update ClassicPress Database**
and continue to the dashboard.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data classicpress-plan.yml
    blossom database_instance:create --data mariadb.yml
    blossom environment_link:create --data mariadb-link.yml
    blossom service:create --data classicpress.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Publish a Post and Choose a Theme

Add a post and upload a small image in **Media**. In **Appearance**,
activate the bundled **ClassicPress TwentySeventeen** theme. Open the
post on your site.

![Open the published Workshop field notes post.](/deploy/assets/images/classicpress/classicpress-workshop-post.webp)

> **Ask your AI agent:** Help me publish a short ClassicPress post, upload an image, and activate ClassicPress TwentySeventeen.

> Follow this guide: https://blossom88.com/deploy/classicpress/



## Reopen the Site After an Update

Replace the Container. Reopen the post and image, then check that the
same theme is still active.

![Check the same ClassicPress theme after Container replacement.](/deploy/assets/images/classicpress/classicpress-active-theme.webp)


> **Ask your AI agent:** Replace the ClassicPress Container and verify the same post, image, and active theme.

> Follow this guide: https://blossom88.com/deploy/classicpress/



## What You Get

- A ClassicPress site with the classic editor
- A published post and an upload in the Media Library
- An active theme kept across Container updates

Tested on Blossom: The same published post, exact uploaded image, and active theme survived Container replacement.
