These are chat archives for reactioncommerce/reaction

21st
May 2017
mmice
@mmice
May 21 2017 02:22
@curranabell thanks, got it. Well, couldn't find deployment chat. And for now i've installed reaction, but can't login as admin (Oops! Please validate your email first.)
Curran
@curranabell
May 21 2017 03:30
@mmice ahh make sure you do the "docker logs reaction" command after install of last step. If it doesn't work out do reaction reset and it will reset the database and give you your default login info in the terminal on startup
mmice
@mmice
May 21 2017 03:49
@curranabell cool! verified email, now it seems i can play )) Only 2 questions left: as i've already installed mongodb, - just can't figure out, how should i create db + user to get that link mongodb://username:password@host:port/database-name (btw, "host" is localhost, i guess? And the last one about the developement of reaction: is it the right way to develope it locally, push my app to dockethub, and then pull it on production?
vipul08
@vipul08
May 21 2017 08:15
hi,
I am trying to run meteor test --driver-package practicalmeteor:mocha
I am getting following error

C:.meteor\packages\meteor-tool\1.4.4_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:190
throw error;
^

Error: EPERM: operation not permitted, symlink 'C:.meteor\packages\meteor-tool\1.4.4_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\' -> 'C:\Users\a0689585\AppData\Local\Temp\1\meteor-test-run1ktf0tj.meteor\local\build\programs\server\node_modules'
at Error (native)
at Object.fs.symlinkSync (fs.js:897:18)

It shows that I need to make a symbolic link
but can some one tell me what directory I should make link
Brent Hoover
@zenweasel
May 21 2017 08:18
Why are you trying to run with a different test driver?
You just run reaction test if you want to run tests
vipul08
@vipul08
May 21 2017 08:19
there also I got the same error
Brent Hoover
@zenweasel
May 21 2017 08:19
Have you tried meteor npm install?
vipul08
@vipul08
May 21 2017 08:19
I think I have done
but let me do it again
Brent Hoover
@zenweasel
May 21 2017 08:20
You could also do reaction reset and delete modules to do a full remove and reinstall
vipul08
@vipul08
May 21 2017 08:21
ok
one more thing I want to ask
I have added the new plugin for wish list
I am running test case for that
I want to run only that test case
Brent Hoover
@zenweasel
May 21 2017 08:22
this is a plugin you created?
vipul08
@vipul08
May 21 2017 08:22
yes
Brent Hoover
@zenweasel
May 21 2017 08:22
Well one way is to add only to your test case, e.g. it.only(
vipul08
@vipul08
May 21 2017 08:22
imports\plugins\custom\reaction-wish-list
it's in this directory
Brent Hoover
@zenweasel
May 21 2017 08:23
You can add only at any level, at a describe or at it
vipul08
@vipul08
May 21 2017 08:23
ok
Brent Hoover
@zenweasel
May 21 2017 08:24
I have never used it but I think dispatch:mocha will accept a “grep” acrgument
vipul08
@vipul08
May 21 2017 08:24
I am using windows :'(
Brent Hoover
@zenweasel
May 21 2017 08:24
yeah, it’s a mocha command
-g, --grep <pattern> only run tests matching <pattern>
not command, an option I should say
vipul08
@vipul08
May 21 2017 08:25
But I think can directly go the directory of my plugin and run it
it should work?
Brent Hoover
@zenweasel
May 21 2017 08:26
no, I don’t think it will work
are they app tests or unit tests?
vipul08
@vipul08
May 21 2017 08:27
it("Creates a wish list for a user", function () {
const wishlistId=Wishlist.insert({userId: userId})
expect(wishlistId).to.not.be.null
})
what it is?
app or unit test?
Brent Hoover
@zenweasel
May 21 2017 08:28
well, It’s hard to say just looking at that snippet
vipul08
@vipul08
May 21 2017 08:28
I think I got it
Brent Hoover
@zenweasel
May 21 2017 08:28
ok
app tests and unit tests have to run seperately in different runners
vipul08
@vipul08
May 21 2017 08:29
Let me try it
I'll use dispatch:mocha -g 'Wislist'
I described my test case as Wishlist
Brent Hoover
@zenweasel
May 21 2017 08:33
Right, probaby what you have is a full-app test
vipul08
@vipul08
May 21 2017 08:35
Yess
vipul08
@vipul08
May 21 2017 09:04
I executed reaction test
SERVER_TEST_REPORTER="dot" meteor test --once --full-app --headless --driver-package dispatch:mocha
this command is running
'SERVER_TEST_REPORTER' is not recognized as an internal or external command,
operable program or batch file.
Tests failed.
Can some one help me
haseebjaved20
@haseebjaved20
May 21 2017 10:28
hi
please helo me how to make admin panel in node js for e commerce websites.
DmitryKvant
@DmitryKvant
May 21 2017 11:02
Hey. What popular stores use - reaction commerce? Thank you.
DmitryKvant
@DmitryKvant
May 21 2017 11:07
Not necessarily - popular
vipul08
@vipul08
May 21 2017 17:04
Can some one guide me on this
what i am missing here
Daniel Honig
@dhonig
May 21 2017 19:37
@vipul08 install this and it will fix all your issues: https://manjaro.org/ :P
akash-saxena150
@akash-saxena150
May 21 2017 20:22
Hey, I am planning to build a coaching marketplace:
Any idea if it is easy to customize?
Also, how difficult is it to integrate react for templating instead of Blaze?
bebob1
@bebob1
May 21 2017 20:59
Hi there. I am importing product with the "Reaction.Import.process" method. Thing is I cannot import the same products twice to update changes, that are written into the JSON i am using. Reaction throws an error that I am importing a duplicate ID. I am asking myself if there is a syncronisation process in reaction that will update the existing products with changes in the JSON from which I am importing. Can anybody give me a hint?
DmitryKvant
@DmitryKvant
May 21 2017 21:02
Всем привет. Скажите мне пожалуйста, какие уже сейчас есть примеры использования данного - магазина?!