These are chat archives for reactioncommerce/reaction

10th
Jun 2016
Brent Hoover
@zenweasel
Jun 10 2016 01:10
@valorloff If you are within a workflow (e.g. checkout) then that is the value specified in the workflow. (“template” is one of the values you supply).
Valery Orloff
@valorloff
Jun 10 2016 05:43
Workflow template is concept of a Meteor or RC specific?
Brent Hoover
@zenweasel
Jun 10 2016 05:44
RC specific
It’s covered in the tutorial
Himanshu Aggarwal
@haggarwal90
Jun 10 2016 05:48

Hi . i enabled reaction google sigh in and set the Client id and secret key .

but when i m trying to login with google then getting redirect_uri_mismatch

i set the redirect uri in google developer console as http://localhost:4005

note : i m running app on local
Valery Orloff
@valorloff
Jun 10 2016 05:48
so, "coreWorkflow" - is name of template from Core Package? i can't found definition "coreWorkflow" template in package folder (
Valery Orloff
@valorloff
Jun 10 2016 05:59
@haggarwal90, what is destination Google Developer Console setup in RC?
for future purposes? Google Drive API?
Himanshu Aggarwal
@haggarwal90
Jun 10 2016 06:04
@valorloff : login as Admin in RC. Go to the dashboard and click on account settings . there u can enable google login and save the Id and key
Valery Orloff
@valorloff
Jun 10 2016 06:08
you enter GDC project ID or OAuth 2.0 client ID?
and what key you mean? apps script key?
and what is next? )
Valery Orloff
@valorloff
Jun 10 2016 09:03
main.js with DEFAULT_LAYOUT need strong save to reaction/common only? not in packages/myPackage?
Brent Hoover
@zenweasel
Jun 10 2016 09:05
It should be at the app level. i.e. the root of your app
You want it to be evaluated first
Valery Orloff
@valorloff
Jun 10 2016 09:07
reaction/main.js ?
Brent Hoover
@zenweasel
Jun 10 2016 09:08
That’s where I put it.
Valery Orloff
@valorloff
Jun 10 2016 09:10
beesknees/main.js ? in myPackage root, clear
Brent Hoover
@zenweasel
Jun 10 2016 09:10
Not in your package root. It’s in that package just as a convenience so you can just symlink it
Valery Orloff
@valorloff
Jun 10 2016 09:13
If you need to override the default layout values from common/config.js, you can override by creating main.js,
i created in common, it evaluated
Brent Hoover
@zenweasel
Jun 10 2016 09:13
Ok, great. So what was the question then?
Valery Orloff
@valorloff
Jun 10 2016 09:15
I thought that in the light of the safe customization, we don't nothing change in core, in packages only
Brent Hoover
@zenweasel
Jun 10 2016 09:16
Generally that’s correct. And this isn’t really changing, it’s overriding. That’s why you don’t modify common/config
Probably we will move this setting into the Registry at some point to make it more easily configurable
Valery Orloff
@valorloff
Jun 10 2016 09:20
yea,...and ./reaction reset every time takes a lot of time, difficult to experimenting
2-3 minutes
Brent Hoover
@zenweasel
Jun 10 2016 09:20
Strange. Nearly instantaneous for me.
But actually you don’t need to reset the registry for that change either.
You are just setting the value of a Global
Valery Orloff
@valorloff
Jun 10 2016 09:23
experimenting with layouts, templates - this is registry changes?
Brent Hoover
@zenweasel
Jun 10 2016 09:24
Generally yes. But setting DEFAULT_LAYOUT should take effect on restart
Valery Orloff
@valorloff
Jun 10 2016 09:26
okay, I'll be patient )
Brent Hoover
@zenweasel
Jun 10 2016 09:26
but I would agree about resetting. We have plans to make that more granular so you don’t need to rebuild every time. And you are saying N to Also delete module?
Valery Orloff
@valorloff
Jun 10 2016 09:26
yes, i say N
Brent Hoover
@zenweasel
Jun 10 2016 09:26
Also, you can use RoboMongo or similar to change values in the DB to experiement before resetting
Valery Orloff
@valorloff
Jun 10 2016 09:28
RoboMongo will work with meteor light version of mongo?
Brent Hoover
@zenweasel
Jun 10 2016 09:28
Yep. I use it all day every day for that
just point it at 3001
Valery Orloff
@valorloff
Jun 10 2016 09:31
what is for google keys in setting? for future improvements?
Brent Hoover
@zenweasel
Jun 10 2016 09:32
Pardon?
Valery Orloff
@valorloff
Jun 10 2016 09:32
google id, google key, what is it for? what kind integration?
Brent Hoover
@zenweasel
Jun 10 2016 09:33
google login integration I believe
Valery Orloff
@valorloff
Jun 10 2016 09:34
in next releases?
Brent Hoover
@zenweasel
Jun 10 2016 09:35
I’ve never tried it but afaik it already works
that’s just a stock Meteor thing
Valery Orloff
@valorloff
Jun 10 2016 09:51
when you write the remaining chapters of the customization guide? )
Brent Hoover
@zenweasel
Jun 10 2016 09:52
Probably after we finish this refactor. What parts are you especially interested in?
Valery Orloff
@valorloff
Jun 10 2016 09:52
payment, shipping
Brent Hoover
@zenweasel
Jun 10 2016 09:54
Are you interested in writing your own payment package?
I wasn’t as concerned about that since we have the paymentmethod package which is sort of a tutorial
I haven’t written a custom shipping method package yet, but I know getoutfitted wrote a custom one and open-sourced it so I may be able to extract that from there
Valery Orloff
@valorloff
Jun 10 2016 10:15
which is tutorial about paymentmethod?
it would be good to use getoutfitted shipping method for your tutorial chapter)
Valery Orloff
@valorloff
Jun 10 2016 12:33
robomongo handy staff, thanx @zenweasel
Valery Orloff
@valorloff
Jun 10 2016 16:04
a modicum of your attention)
safe changing checkoutpayment template:
  1. rename database layout.template entry to "myCheckoutPayment"
  2. create in myPackage myPayment.html with new template, register it
  3. reaction reset ->
    now i have two payments with position: "5" )
    changes in database also resets to default,
    what i'm wrong?
samueldu
@samueldu
Jun 10 2016 16:33
what are the default "administrator" credentials?
samueldu
@samueldu
Jun 10 2016 16:45
got it, thanks
Spencer Norman
@spencern
Jun 10 2016 22:56
@mikemurray I’m trying to customize the email tempates (reaction-email-templates package) and curious what variables I have access to or where that is set? Also curious if I can create helpers for them or what that process might look like.