Search for a command to run...
In this document, you'll learn how to install and configure the Yandex Market YML Feed Generator for Medusa.
yarn add @gorgo/medusa-feed-yandexAdd the plugin configuration in your file of the Medusa admin application:
medusa-config.js1# ...2module.exports = defineConfig({3 # ...4 modules: [5 {6 resolve: "@gorgo/medusa-feed-yandex/modules/feed",7 },8 {9 resolve: "@medusajs/medusa/file",10 options: {11 providers: [12 {13 resolve: "@medusajs/medusa/file-local",14 id: "local",15 options: {16 upload_dir: "static",17 backend_url: "http://localhost:9000/static"18 },19 },20 ],21 },22 },23 ],24 plugins: [25 {26 resolve: "@gorgo/medusa-feed-yandex",27 options: {}28 }29 ],30})
Run the following command to apply the plugin's database migrations:
yarn db:migrate