These are chat archives for reactioncommerce/reaction
+1 @janus-reith. Multi-shop should work although it's not used by default on the starterkit. Simply having multiple domains point to the same load balancer and using the HTTP origin to determine the
shopId should do the trick.
As far as multi-tenancy, technically everything is still there in the back-end code. It'll require a bit more wiring as that part was left untouched for a while, but you should be able to get it to work.
**PayPal**in the version 2
It seems reaction does pre-rendering via prerender.io.
Found code here => https://github.com/reactioncommerce/reaction/blob/master/imports/plugins/core/core/server/startup/prerender.js
I am trying to run with below updated variable on my local
PRERENDER_SERVICE_URL=<public reaction url>
PRERENDER_HOST=<local prerender url>
But i am unable to prerender it and got the below error message,
GET <local prerender url>/merged-stylesheets.css?hash=3a462c142e44261f0b04c67a1891365d8d1c48cb net::ERR_ABORTED 400 (Bad Request)
Tried adding below code to serve merged-stylesheets.css file,
app.use("*", express.static(paths.resolve(process.cwd(), "../web.browser")));
Still no luck.
Although with my prerender.io setup i am able to view,
<local prerender url>/https://www.google.com/
Any help or direction appreciated.
reaction-platformrepo and not just
reaction. As @janus-reith said, the storefront is now on a separate service and
reaction-platformhandles launching the whole thing for you (on a dev machine that is).
docker logs -f reaction_reaction_1