Shop module - setup

18 views
Skip to first unread message

Mykola Soldatenkov

unread,
Aug 23, 2024, 6:55:54 PM8/23/24
to Magnolia User Mailing List
Hi, does anybody know how to setup Shop module?
Added all dependencies as mentioned in docs + mysql connector
<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.6</version>
</dependency>

mysql is up and runnning

added cms/light-modules/shop-config/decorations/shop-core/config.yaml
and tried in Config app also
datasource:
  username: admin
  password: admin
  url: jdbc:mysql://127.0.0.1:3306/shop
  driver: com.mysql.cj.jdbc.Driver
  migration:
    path: shop-core/dbmigration/mysql
    run: true

but it seems like not working
No apps added in admincentral

Mykola Soldatenkov

unread,
Aug 27, 2024, 12:35:13 PM8/27/24
to user...@magnolia-cms.com
upd1: those apps are old, magnolia doesn't bootstrap them automatically, you need to add them in admincentral manually

light-modules/admincentral-config/decorations/ui-admincentral/config.yaml
appLauncherLayout:
  groups:
    - name: shop
      label: Shop
      apps:
        - name: carts-app
        - name: manufacturers-app
        - name: orders-app
        - name: products-app
        - name: settings-app
        - name: wishlists-app

light-modules/admincentral-config/decorations/admincentral/config.yaml
compatibilityLayout:
  rows:
    - groups:
        - shop
      cssClass: editor

--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/da09db0b-9f67-417b-9c98-46498faf6719n%40magnolia-cms.com.


--
-- 
Powyższa wiadomość wraz z ewentualnymi załącznikami jest przeznaczona wyłącznie do wiadomości osób lub podmiotów, do których jest w sposób zamierzony zaadresowana. W przypadku otrzymania powyższej wiadomości w wyniku pomyłki, prosimy o pilne powiadomienie o tym fakcie nadawcy oraz o usunięcie wiadomości z systemu, a także o nie rozpowszechnianie treści w niej zawartych. Otrzymanie powyższej wiadomości nie może stanowić podstawy do jakichkolwiek zobowiązań nadawcy tej wiadomości wobec osób nie będących jej zamierzonymi adresatami. 
This e-mail message and any attachments is intended solely for the use of the persons or entities to whom it is intentionally addressed. If you have received this message in error, please notify the sender about this fact immediately and delete it completely from your computer system. Please do not disseminate this message unless you are the intended recipient of it. This e-mail message shall not create any legal obligation on the part of the sender to persons who are not intended recipients of it.

Mykola Soldatenkov

unread,
Aug 27, 2024, 12:41:34 PM8/27/24
to user...@magnolia-cms.com
upd2: it looks like Shop desn't see config values

throws 
2024-08-26 20:47:15,719 INFO  io.avaje.config.load.LoadContext                  : loaded properties from []
2024-08-26 20:47:15,724 DEBUG io.ebean.Ebean                                    : defaultName:db
...
Caused by: io.ebean.datasource.DataSourceConfigurationException: Configuration error creating DataSource for the default Database. This typically means a missing application-test.yaml or missing ebean-test dependency. See https://ebean.io/docs/trouble-shooting#datasource
...
Caused by: io.ebean.datasource.DataSourceConfigurationException: DataSource user is null?
full logs attached
mgnl-shop-logs.txt
Reply all
Reply to author
Forward
0 new messages