These are chat archives for reactioncommerce/reaction

26th
Aug 2016
pratik1987
@pratik1987
Aug 26 2016 05:35
Hello guys, can anyone help me with how to login as admin?
Brent Hoover
@zenweasel
Aug 26 2016 05:36
pratik1987
@pratik1987
Aug 26 2016 05:37
i don't see and credentials in my console
Brent Hoover
@zenweasel
Aug 26 2016 05:37
it only happens on the first run
pratik1987
@pratik1987
Aug 26 2016 05:38
now what should i do?
Brent Hoover
@zenweasel
Aug 26 2016 05:38
if you lost that from your terminal you can just do reaction reset -n && reaction
pratik1987
@pratik1987
Aug 26 2016 05:42
Thank you Brent.
Brent Hoover
@zenweasel
Aug 26 2016 05:42
:+1:
pratik1987
@pratik1987
Aug 26 2016 06:07
Hey Brent, we have our website created on MEAN stack. Is it possible for us to integrate reaction commerce with it
Brent Hoover
@zenweasel
Aug 26 2016 06:08
Yes. But not directly. You would need to separate the projects. But you can access all the methods, etc. through DDP (JSON over Websockets)
but they can easily share data, etc.
pratik1987
@pratik1987
Aug 26 2016 06:10
can we use reaction commerce as services and create our own frontend, so what do you think about this?
Brent Hoover
@zenweasel
Aug 26 2016 06:11
Yes, someone has done that already using a pure React front-end
we purposefully made everything available through Meteor methods for that reason
pratik1987
@pratik1987
Aug 26 2016 06:13
so we can use angular.js as frontend?
Brent Hoover
@zenweasel
Aug 26 2016 06:13
Yeah, just remember that you need to access the API through DDP
otherwise you could need wrap those methods in wrappers to return Ajax data
how familiar are you with how Meteor works?
you can use angular directly with Meteor
pratik1987
@pratik1987
Aug 26 2016 06:15
not that much, actually not at all... Only angular.JS
the main thing (I think) to know is that Meteor does not pass data between server and client with HTTP
pratik1987
@pratik1987
Aug 26 2016 06:18
so does it pass data?
how*
Brent Hoover
@zenweasel
Aug 26 2016 06:18
it passes data via DDP (JSON over Websockets)
mostly frameworks like Angular or React don’t really care about where you get the data but it changes the model because DDP allows a “push” model as well as a “pull” model
pratik1987
@pratik1987
Aug 26 2016 06:20
can we have a call for more information
Brent Hoover
@zenweasel
Aug 26 2016 06:20
it uses a pub/sub for data rather than a polling model
I’d prefer if we can keep the discussion in this channel so everybody can benefit
there are probably some packages that bridge the gap between Angular and Meteor (Meteor natively support React and Angular)
honestly I don’t know a ton about Angular beyond just playing with a few demos
pratik1987
@pratik1987
Aug 26 2016 06:23
what are the packages and how will the packages work in case of MEAN stack?
Brent Hoover
@zenweasel
Aug 26 2016 06:26
they won’t work in integrating Meteor into a MEAN project
You can use something like this to communicate with a DDP application https://www.npmjs.com/package/ddp
there are also packages that can make Meteor app act like a REST endpoint
pratik1987
@pratik1987
Aug 26 2016 06:33
how to do this? this can help us alot
Brent Hoover
@zenweasel
Aug 26 2016 06:34
you may want to look at this: https://github.com/apollostack/apollo
this is the future of Meteor for sure
pratik1987
@pratik1987
Aug 26 2016 06:36
but this is in development stage?
Brent Hoover
@zenweasel
Aug 26 2016 06:37
yep, here is a package that works for now https://github.com/kahmali/meteor-restivus
but if you are building something from scratch, you’d be wise to keep apollo in your plans
it’s going to be yuuuuge
pratik1987
@pratik1987
Aug 26 2016 06:39
if we wait for apollo it might take time
kahmali sounds interesting for now
Brent Hoover
@zenweasel
Aug 26 2016 06:40
yeah, it all depends on your goals and timelines
pratik1987
@pratik1987
Aug 26 2016 06:54
thanks a lot for your help..
Brent Hoover
@zenweasel
Aug 26 2016 06:55
:+1:
eahema
@eahema
Aug 26 2016 09:48
hi
i just installed reaction app in my server and start based on documentation
using localhost:3000 url.. i'm trying to login to portal using admin@ongoworks.com and pws is ongo1
but it shows the inavlid account and password
can u help me guys
i didt configure anything in dev.settting.json file..
Brent Hoover
@zenweasel
Aug 26 2016 10:37
You will find the login info in the console on first start
eahema
@eahema
Aug 26 2016 11:37
let me check
eahema
@eahema
Aug 26 2016 11:44
i just checked console.. username and password not written in console and found below warning errors
W20160826-11:40:55.318(0)? (STDERR) WARNING:
W20160826-11:40:55.320(0)? (STDERR) cfs:graphicsmagick could not find "graphicsMagic" or "imageMagic" on the
W20160826-11:40:55.320(0)? (STDERR) system.
W20160826-11:40:55.320(0)? (STDERR)
W20160826-11:40:55.321(0)? (STDERR) I just checked PATH to see if I could find the GraphicsMagick or ImageMagic
W20160826-11:40:55.321(0)? (STDERR) unix/mac os/windows binaries on your system, I failed.
W20160826-11:40:55.321(0)? (STDERR)
W20160826-11:40:55.322(0)? (STDERR) Why:
W20160826-11:40:55.322(0)? (STDERR) 1. I may be blind or naive, help making me smarter
W20160826-11:40:55.323(0)? (STDERR) 2. You havent added the path to the binaries
W20160826-11:40:55.323(0)? (STDERR) 3. You havent actually installed GraphicsMagick or ImageMagick
W20160826-11:40:55.324(0)? (STDERR)
W20160826-11:40:55.324(0)? (STDERR) Make sure "$PATH" environment is configured "PATH:/path/to/binaries"
W20160826-11:40:55.325(0)? (STDERR)
W20160826-11:40:55.325(0)? (STDERR) Installation hints:
W20160826-11:40:55.325(0)? (STDERR) Mac OS X "brew install graphicsmagick" or "brew install imagemagick"
W20160826-11:40:55.325(0)? (STDERR)
Linux download rpm or use packagemanager
W20160826-11:40:55.326(0)? (STDERR) Centos "yum install GraphicsMagick" Windows download the installer and run
I20160826-11:40:55.386(0)? [Error: Module did not self-register.]
W20160826-11:40:55.388(0)? (STDERR) js-bson: Failed to load c++ bson extension, using pure JS version
I20160826-11:41:00.036(0)? 11:41:00.027Z INFO Reaction: Client import found for checkout
eahema
@eahema
Aug 26 2016 11:54
any one there for help
hrath2015
@hrath2015
Aug 26 2016 11:55
Looks server is restarting fine what is issue?
scroll down towards the end of console log to find the details
if you lost that from your terminal you can just do reaction reset -n && reaction
Samu Tuomisto
@SamuTuomisto_twitter
Aug 26 2016 12:55
is there any reference multivendor shops running on reactioncommerce?
is the platform already mature enough for using it in real?