modified docusaurus admonitions to docs

This commit is contained in:
Shreedhar Hegde
2022-04-25 16:25:10 +05:30
parent 01114b42a4
commit 1d138709e2
16 changed files with 27 additions and 25 deletions

View File

@@ -46,7 +46,7 @@ Then configure your `medusa-config.js` to include the plugin alongside the requi
The two access keys in the options are the ones created in the previous section.
:::note
:::tip
Make sure to use an environment variable for the secret key in a live environment.

View File

@@ -78,7 +78,7 @@ https://[bucket].s3.[region].amazonaws.com
The two access keys in the options are the ones created in the previous section.
:::note
:::tip
Make sure to use an environment variable for the secret key in a live environment.

View File

@@ -47,7 +47,7 @@ Then configure your `medusa-config.js` to include the plugin alongside the requi
In the above options, a `spaces_url` is included. This can be found in your Space overview. The `bucket` should point to the name you gave your Space. The `endpoint` identifies the region in which you created the Space. And finally the two keys are the ones created in the previous section.
:::note
:::tip
Make sure to use an environment variable for the secret key in a live environment.

View File

@@ -128,7 +128,7 @@ The plugin expects node version to be '>= 10.16.0 and <=14.x.x', otherwise it wi
After running the command, you have a full Strapi project configured to synchronize with Medusa. Upon the initial start of the Strapi server, all the required models will be created. They will correlate with models from Medusa to allow for two-way synchronization.
:::note
:::caution
The Strapi template starter uses SQLite as the default database. There is a known bug related to `knex.js` that comes from multiple write connections. Restarting the Strapi server should make the error disappear.
@@ -172,10 +172,12 @@ projectConfig: {
},
```
:::note
:::tip
The `DATABASE_URL` variable should use the Postgres database created in the previous step
:::
## Summary and next steps
You are now provided with the toolbox for creating amazing digital commerce experiences on top of a highly extendable CMS system and ecommerce platform.