Scott Bennett
03/17/2023, 8:08 PMScott Bennett
03/17/2023, 8:14 PMScott Bennett
03/17/2023, 8:16 PMelpete
03/18/2023, 3:17 AMScott Bennett
03/21/2023, 6:58 PMjclausen
03/21/2023, 9:06 PM@cb
namespace was moved to @contentbox
). I’m working on some documentation and module updates for the cbCommerce
stack this week, which should make all of this easier to get up and running. You are correct, though, the docs are lacking. I will be pushing up a bunch of changes to those this week.
When you install, cbCommerce
( the full stack package, which includes the API, the Admin module and the example UI module ), it will automatically install itself when the module is registered, using the default datasource of the application ( the ability to configure this is one of the things I’m working on this week ).
Once it’s installed, you should be able to log in to the admin at /store/admin
and view the UI at /store
The default admin login is:
U: <mailto:adminuser@cbcommerce.com|adminuser@cbcommerce.com>
P: cbComm3rce4dmin
You can change those credentials after you log in.
There will be no products, at that point, though. You can seed some test data, while in development
mode by running ?fwreinit=true&seed=true
which will seed some products for you.
If this is an existing app, with its own security scheme. there are some additional considerations on configuration. If you are not using cbSecurity
currently, you will need to add this to your config/Coldbox.cfc
file in the moduleSettings
section or you will see an an error on startup.
"cbauth" {
"userServiceClass" : "UserService@cbcommerce"
}
Looking at the Gitbook, I just realized that it’s pointing to the wrong Github repo. I will try to get that updated shortly. Feel free to DM me directly and I’m happy to help you through any issues you encounter.Scott Bennett
03/21/2023, 9:14 PMScott Bennett
04/19/2023, 4:19 PM