docs: added manage products documentation (#3867)

* docs: added manage products documentation

* lint fixes

* generated oas types
This commit is contained in:
Shahed Nasser
2023-04-18 13:20:15 +03:00
committed by GitHub
parent 9836adeec7
commit 8766b16e3b
8 changed files with 1189 additions and 77 deletions
@@ -191,25 +191,6 @@ For other distributions, you can check out [PostgreSQLs website for more guid
You can download PostgreSQL on your macOS using [the installer on their website](https://www.postgresql.org/download/macosx/).
</TabItem>
<TabItem value="docker" label="Docker">
Make sure the Docker Desktop app is running, then run the following command to quickly spin up a PostgreSQL instance:
```bash
docker run --name postgres -e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres -e \
POSTGRES_DB=medusa-docker -p 5432:5432 -d postgres
```
Where:
- `--name` creates a new container named `postgres`.
- `-e` creates environment variables `POSTGRES_USER`, `POSTGRES_PASSWORD` and `POSTGRES_DB`. These will be used to set up a database named `medusa-docker` with the username and password being `postgres`.
- `-p` maps the container port `5432` to the external host `5432`. This allows you to connect to the database backend from outside of the container.
- `-d` enables Docker to run the container in the background.
- The last section of the command, `postgres` grabs the latest postgres image from the Docker hub.
</TabItem>
</Tabs>
File diff suppressed because it is too large Load Diff
+2 -12
View File
@@ -24,7 +24,7 @@ Admins can manage unlimited amount of products and their variants. They can mana
<DocCardList colSize={4} items={[
{
type: 'link',
href: '#',
href: '/modules/products/admin/manage-products',
label: 'Admin: Manage Products',
customProps: {
icon: Icons['academic-cap-solid'],
@@ -127,7 +127,7 @@ Admins can bulk import and export products using CSV files. This facilitates mov
Learn how product-related entities are build, their relation to other modules, and more.
<DocCardList colSize={4} items={[
<DocCardList colSize={6} items={[
{
type: 'link',
href: '/modules/products',
@@ -146,16 +146,6 @@ Learn how product-related entities are build, their relation to other modules, a
description: 'Learn about the Product Category Architecture.',
}
},
{
type: 'link',
href: '#',
label: 'Architecture: Collection',
customProps: {
icon: Icons['circle-stack-solid'],
description: 'Learn about the Collection Architecture.',
isSoon: true,
}
},
]} />
---