modified docusaurus admonitions to docs
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user