These are chat archives for reactioncommerce/reaction

8th
Dec 2017
Josh Cox
@joshuacox
Dec 08 2017 00:00
but its a bash shell......
Brent Hoover
@zenweasel
Dec 08 2017 00:00
yeah, but then you have to start learning how to ls -l instead of dir, etc.
Josh Cox
@joshuacox
Dec 08 2017 00:01
yeah I hear you there, but it seems crazy to me, that stuff never works right
Brent Hoover
@zenweasel
Dec 08 2017 00:01
now with chocolatey that installation on Windows got a lot less painful
you could literally install all prequiresites with two terminal commands
Josh Cox
@joshuacox
Dec 08 2017 00:02
I guess in that case as well, no build. But I guess that is what CI is for?
Brent Hoover
@zenweasel
Dec 08 2017 00:02
what do you mean by “no build”?
Josh Cox
@joshuacox
Dec 08 2017 00:02
does docker build work on your windows machine?
Brent Hoover
@zenweasel
Dec 08 2017 00:03
Good question, I haven’t tried it yet
Josh Cox
@joshuacox
Dec 08 2017 00:03
in my case i have to set DOCKER_HOST and use an external docker daemon
or internal if on a docker-machine vm
Brent Hoover
@zenweasel
Dec 08 2017 00:04
Yeah, docker is next on my list to try across the platforms. I don’t have a lot of Docker knowledge which is lame
Josh Cox
@joshuacox
Dec 08 2017 00:04
but still windows is unable to run a docker binary locally despite the very great strides they are making to make that happen with the WSL
the key is that most docker images are 64-bit linux ELF binaries at their base, which means you have to have a 64-bit linux kernel running somewhere somehow, which is why on mac and win virtualbox is used to run a VM in the background
docker does run on other platforms (most notably the rpi), but the images must be rebased entirely
and to my knowledge no mac or windows solution exists without a virtualized linux kernel somewhere running
Josh Cox
@joshuacox
Dec 08 2017 00:20
and I misstated the above, the docker binary (built by go) does indeed run on windows, the daemon does not which runs containers, ie if you follow this page you can get docker up and running just fine on windows (but the thing that is running your containers is a headless VM running in the background a la vbox).
childproof
@childproof
Dec 08 2017 01:44
@joshuacox can I just install reaction on the 32 bit and design the site from it locally without problems and then migrate to a new 64bit server? I am just trying to make the site.
phenomenon01
@phenomenon01
Dec 08 2017 03:43
How to implement google analytics in reaction app ?
gopeshcitpl
@gopeshcitpl
Dec 08 2017 06:46
{{#if hasPermission "admin"}} condition is working fine in html file but i would like to execute this condition in js file, please suggest me how can i meet this condition in JS file?
gopeshcitpl
@gopeshcitpl
Dec 08 2017 06:48
yes, exactly
thanks
gopeshcitpl
@gopeshcitpl
Dec 08 2017 07:13
how do i added additional js file?
Brent Hoover
@zenweasel
Dec 08 2017 07:13
in what context?
gopeshcitpl
@gopeshcitpl
Dec 08 2017 07:13
i have bootstrap.js and custom.js file
where from i add these files path
Brent Hoover
@zenweasel
Dec 08 2017 07:14
if those are client files you would want to put them in the client folder of your plugin
gopeshcitpl
@gopeshcitpl
Dec 08 2017 07:14
ok
i added files in client/js folder
Brent Hoover
@zenweasel
Dec 08 2017 07:18
you don’t need to be in a js folder because everything is js
gopeshcitpl
@gopeshcitpl
Dec 08 2017 07:19
ok, so i added these files in client folder
Brent Hoover
@zenweasel
Dec 08 2017 07:19
though as long as they are in the client folder it doesn’t really matter how you structure them
they need to be imported to be used
usually in an index.js file in the root of the client folder
gopeshcitpl
@gopeshcitpl
Dec 08 2017 07:22
ok thanks
phenomenon01
@phenomenon01
Dec 08 2017 07:59
@zenweasel Google Analytics option is not assessable from dashboard
AlexeyLapushinskiy
@AlexeyLapushinskiy
Dec 08 2017 10:27
Hi, tell me, please, how can i add geolocation to my reaction?
Loan Laux
@loanlaux
Dec 08 2017 10:27
What do you mean @AlexeyLapushinskiy?
AlexeyLapushinskiy
@AlexeyLapushinskiy
Dec 08 2017 10:28
@loanlaux i want to look location of shops
AlexeyLapushinskiy
@AlexeyLapushinskiy
Dec 08 2017 10:29
Thank you @loanlaux
Josh Cox
@joshuacox
Dec 08 2017 16:03
@childproof yep dev is fine in 32-bit, setup circleCI builds like the main reaction team does and you are good to go
I think we have some major confusion on the GPLv3, as I understand it the GPLv3 is incompatible with commercial licensed plugins living in the imports directory.
Josh Cox
@joshuacox
Dec 08 2017 16:14
After toying around with gatsby I think it would be possible to make a commercial whatever you want in gatsby IF you were using reactioncommerce as just a backend graphQL api, but anything in the imports directory is going to share memory with the rest of reaction and therefore be subject to the GPLv3
Josh Cox
@joshuacox
Dec 08 2017 16:20
I'm also of the opinion that this is the reason magento and wordpress in particular are stricken with so many security vulnerabilities. Both Magento and Wordpress core are usually not the issue, in my experience the third party proprietary plugins are the first to go unattended with well known vulnerabilities that stay open for years.
Loan Laux
@loanlaux
Dec 08 2017 17:16
If this means no paid Reaction Commerce plugins ever, that's pretty bad news from a business perspective. One major point for developers and agencies in a CMS/platform is to distribute commercial plugins.
Josh Cox
@joshuacox
Dec 08 2017 17:46
well only if you "distribute" them, look at number 8 here that is discussion of GPLv2, which does differ from v3, but if anything v3 increases this enforcement
rhaix
@rhaix
Dec 08 2017 18:29
guys I'm trying to deploy a reaction image using docker connected to a mongo server, but whenever I deploy I get the following error like 10 times in a row: WARN Reaction: Error while importing to Packages: Updating the path 'layout' would create a conflict at 'layout'
Maybe it has to do with the fact that I'm running mongo ver 3.6?
and most of the core plugins aren't loaded afterwards, the admin dashboard only has 4 icons instead of the usual
also getting that same error with "icons" and "settings" in place of layout
any ideas?
rhaix
@rhaix
Dec 08 2017 19:29
Finally got it to work, downgraded from mongo 3.6 to 3.4 it is now working perfectly
Josh Cox
@joshuacox
Dec 08 2017 19:38
@rhaix that is interesting to note on 3.6, at one point I was using an ancient mongo default install from debian and ran into some strange issues as well (it wasn't readily apparent it was mongo related). I'm not certain this is detailed anywhere in the docs, but I think 3.4 is definitely the preferred mongo version
machiko
@machikoyasuda
Dec 08 2017 19:41
@loanlaux @joshuacox Thanks for your questions/answers on this. Just wanted to let you know we're gonna get official answers on this and will update the FAQ with it soon! I'll make sure to ping you when that happens.
Josh Cox
@joshuacox
Dec 08 2017 19:48
@machikoyasuda no worries from me! I happily work with any of the licenses, but I have this irritating habit of reading them and other discussions about them. Sorry to be annoying.
tractr
@tractr_twitter
Dec 08 2017 20:50
Hello everyone, do you have a customer review module or service to recommend that fits well with Reaction Commerce?
Josh Cox
@joshuacox
Dec 08 2017 21:28
@tractr_twitter there is a [forum post(https://forums.reactioncommerce.com/t/product-rating-feature/477) that is pretty stale by now, but I think is still the state of the matter.
Is there a public docker build of the graphQL api? (there is now)
machiko
@machikoyasuda
Dec 08 2017 23:05
This message was deleted
Josh Cox
@joshuacox
Dec 08 2017 23:16
@jshimko is that the freshest version of the graphQL api? I noticed last change was 3 months ago? Is this what @aaronjudd is using to experiment with gatsby?