Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

docs(medusa-cloud): drop package-manager prep and clarify backend-only deploy

vholik5f317e28e3a8
diff --git a/apps/docs/how-to-guides/medusa-cloud.mdx b/apps/docs/how-to-guides/medusa-cloud.mdx
index 7a646401a..0b9eed8de 100644
--- a/apps/docs/how-to-guides/medusa-cloud.mdx
+++ b/apps/docs/how-to-guides/medusa-cloud.mdx
@@ -10,9 +10,10 @@ description: "Install and deploy Mercur on Medusa Cloud."
Head to the [Medusa Cloud signup page](https://cloud.medusajs.com/signup) to get started. After registration is complete and your account is active, authorize the Medusa Cloud GitHub app in your organization or personal account.
<Info>
- Medusa Cloud builds the project with the Dockerfile in `packages/api`, which
- bundles the backend, the admin panel, and the vendor panel into a single
- container. Only the storefront needs to be deployed separately.
+ Medusa Cloud only deploys the **backend**. The admin panel, vendor panel,
+ and storefront must be deployed separately (for example, on Vercel,
+ Netlify, or your own infrastructure) and pointed at the deployed backend
+ URL.
</Info>
## Prerequisites
@@ -21,29 +22,6 @@ Head to the [Medusa Cloud signup page](https://cloud.medusajs.com/signup) to get
- A [Medusa Cloud](https://cloud.medusajs.com) account with the GitHub app authorized
- API keys for any third-party services you plan to use (Stripe, Resend, Algolia, etc.)
-## Prepare the template for Medusa Cloud
-
-Medusa Cloud supports **`npm`, `yarn` (v1, v3, v4), and `pnpm`** as package managers ([reference](https://docs.medusajs.com/cloud/projects/prerequisites#prerequisites-for-medusa-application-with-storefront)). Bun is **not** on that list, but the Mercur basic template ships configured for Bun — so before pushing to GitHub you need to switch it to one of the supported managers. The example below uses Yarn:
-
-1. Delete `bun.lock` from the project root.
-2. Open the root `package.json` and remove the `"packageManager"` field.
- ![Remove packageManager from package.json](/images/v2/package-manager.png)
-3. Delete the existing `node_modules` directory.
-4. Run `yarn install` to generate a `yarn.lock`.
-
-```bash
-rm bun.lock
-rm -rf node_modules
-# then remove the "packageManager" field from package.json
-yarn install
-```
-
-Commit `yarn.lock` (and the updated `package.json`) and push to GitHub before continuing.
-
-<Warning>
- Leaving `bun.lock` or the `"packageManager": "bun@..."` field in place will cause the Medusa Cloud install step to fail, because Bun isn't one of the supported package managers.
-</Warning>
-
## Setup
1. From the Medusa Cloud dashboard, choose **Import your existing repository into the Cloud** (the Mercur project lives in your own GitHub repo, not in the bundled DTC/B2B starters).
@@ -103,11 +81,4 @@ You can change these variables later from the project's environment settings, an
## After deployment
-Once the build succeeds, a single container exposes the API and both dashboards:
-
-- The API is available at `https://<your-subdomain>.medusajs.app`.
-- The Admin Panel is available at `https://<your-subdomain>.medusajs.app/dashboard`.
-- The Vendor Panel is available at `https://<your-subdomain>.medusajs.app/seller`.
-- Point your storefront deployment at the API URL via its `VITE_MEDUSA_BACKEND_URL` (or equivalent) build-time variable.
-
-The dashboard routes are configured in `packages/api/medusa-config.ts` under the `admin-ui` and `vendor-ui` modules — change `path` there to remap them.
+Once the build succeeds, the backend is available at `https://<your-subdomain>.medusajs.app`. Point your separately-deployed admin panel, vendor panel, and storefront at this URL via their `VITE_MEDUSA_BACKEND_URL` (or equivalent) build-time variable, and make sure that URL is included in the backend's `ADMIN_CORS`, `VENDOR_CORS`, `STORE_CORS`, and `AUTH_CORS` environment variables.
diff --git a/apps/docs/images/v2/package-manager.png b/apps/docs/images/v2/package-manager.png
deleted file mode 100644
index bf673f813..000000000
Binary files a/apps/docs/images/v2/package-manager.png and /dev/null differ