docs: migrate guides to TSDoc references (#6100)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-01-22 18:38:35 +01:00
1 parent 85dad169bb
commit 4792c55226
980 files changed
+195537 -160619

No files matched your search

@@ -28,4 +28,4 @@ If you wish to run your storefront or Medusa admin on other ports, you should up
## See Also
- [Configure your Medusa backend](../development/backend/configurations.md)
- [Configure your Medusa backend](../references/medusa_config/interfaces/medusa_config.ConfigModule.mdx)
@@ -7,4 +7,4 @@ Error: connect ECONNREFUSED ::1:5432
This error occurs because the backend couldn't connect to the PostgreSQL database. The issue could be one of the following:
1. PostgreSQL server isn't running. Make sure it's always running while the Medusa backend is running.
2. The connection URL to your PostgreSQL database is incorrect. This could be because of incorrect credentials, port number, or connection URL format. The format should be `postgres://[user][:password]@[host][:port]/[dbname]`. Make sure that the connection URL format is correct, and the credentials passed in the URL are correct. You can learn more about formatting the connection URL [here](../../development/backend/configurations.md#postgresql-configurations)
2. The connection URL to your PostgreSQL database is incorrect. This could be because of incorrect credentials, port number, or connection URL format. The format should be `postgres://[user][:password]@[host][:port]/[dbname]`. Make sure that the connection URL format is correct, and the credentials passed in the URL are correct. You can learn more about formatting the connection URL [here](../../references/medusa_config/interfaces/medusa_config.ConfigModule.mdx#postgresql-configurations)
@@ -22,4 +22,4 @@ npx create-medusa-app@latest --db-url "postgres://user:password@localhost:<YOUR_
Where `<YOUR_PORT>` is the exposed port if it's different than `5432`.
Refer to the [database_url configuration documentation](../../development/backend/configurations.md#database_url) to learn how to set the database URL for an installed Medusa backend.
Refer to the [database_url configuration documentation](../../references/medusa_config/interfaces/medusa_config.ConfigModule.mdx#database_url) to learn how to set the database URL for an installed Medusa backend.
@@ -36,4 +36,4 @@ REDIS_URL=<YOUR_REDIS_URL>
## See Also
- [Set up your development environment](../development/backend/prepare-environment.mdx)
- [Configure the Medusa backend](../development/backend/configurations.md)
- [Configure the Medusa backend](../references/medusa_config/interfaces/medusa_config.ConfigModule.mdx)