From 8da342897ce44b283894ecacb8667591a8218bfb Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 10 Apr 2023 18:52:23 +0300 Subject: [PATCH] docs: commented out option 2 of admin as a temporary fix (#3789) * docs: commented out option 2 as a temporary fix * fix comments --- docs/content/admin/development.md | 6 ++++++ docs/content/admin/quickstart.mdx | 20 ++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/docs/content/admin/development.md b/docs/content/admin/development.md index 21d10cdb03..a5c09deaea 100644 --- a/docs/content/admin/development.md +++ b/docs/content/admin/development.md @@ -7,6 +7,12 @@ addHowToData: true In this document, you’ll learn how to customize the Medusa admin by forking it, and how to keep it updated with changes from the main repository. +:::warning + +This guide explains how to customize the Medusa Admin repository, which is now deprecated. This guide doesn't work with the [admin plugin](./quickstart.mdx). + +::: + ## Overview Although Medusa provides an intuitive admin that should cover all your ecommerce needs, you are free to customize the Medusa admin as you see fit. diff --git a/docs/content/admin/quickstart.mdx b/docs/content/admin/quickstart.mdx index 516a40f254..0d7a53def2 100644 --- a/docs/content/admin/quickstart.mdx +++ b/docs/content/admin/quickstart.mdx @@ -17,12 +17,16 @@ The admin dashboard is now shipped as an NPM package, and the previous GitHub re ## Overview -The admin dashboard is installed on the Medusa backend. Setting it up depends on how you intend to use it: +The admin dashboard is installed on the Medusa backend. The admin dashboard starts when you start the Medusa backend. This also means you can later deploy the Medusa backend along with the admin dashboard on the same hosting. + +This guide will explain the steps and configurations required to set up the admin dashboard. + + --- @@ -46,16 +50,20 @@ You can install Node from the [official website](https://nodejs.org/en/). --- -## Option 1: Install and Serve Admin with the Backend + + +## Install and Serve Admin with the Backend This section explains how to install the admin to be served with the Medusa Backend and later deployed together. -:::note + + ### Step 1: Install the Package In the directory of your Medusa backend, run the following command to install admin dashboard: @@ -117,6 +125,8 @@ This starts the Medusa Backend and the admin dashboard. By default, the admin wi --- + + ## Demo Credentials If you installed the demo data when you installed the Medusa backend by using the `--seed` option or running: