These are chat archives for reactioncommerce/reaction

13th
May 2016
xiaoc li
@brianxcli
May 13 2016 03:21
Hi, I deployed the project on the server. But it is loading too many scripts and it might be a reason for the server responding slowly.
blob
How can I do with it?
Brent Hoover
@zenweasel
May 13 2016 03:23
Are you running this in production mode?
xiaoc li
@brianxcli
May 13 2016 03:36
I am not sure, how can I know it?
Brent Hoover
@zenweasel
May 13 2016 03:37
did you do a meteor build and deploy that result?
by default you will be running in debug mode, which will not combine/minimize everything
xiaoc li
@brianxcli
May 13 2016 03:39
No. I run it by running ./reaction
Brent Hoover
@zenweasel
May 13 2016 03:40
try ./reaction —production
I believe the reaction script should pass all parameters through to the meteor run command
xiaoc li
@brianxcli
May 13 2016 03:42
Ok, I am trying.
Spencer Norman
@spencern
May 13 2016 03:42
@mikemurray or anyone else any idea how to get bootstrap’s tooltip plugin to run from a package? I’m fully able to run it from the console after a page load, but it’s not available to my packages.
xiaoc li
@brianxcli
May 13 2016 03:49
@zenweasel It's much better now, but still needs more than 20 sec, do you think >900k makes sense for the app code?
blob
This message was deleted
Mike Murray
@mikemurray
May 13 2016 04:05
@spencern maybe addAssets http://guide.meteor.com/writing-atmosphere-packages.html#adding-assets or using import or require to include it into a client file
Spencer Norman
@spencern
May 13 2016 04:06
Thanks, I’ll try that
Brent Hoover
@zenweasel
May 13 2016 04:25
@brianxcli It’s taking 20 seconds to load the site?
xiaoc li
@brianxcli
May 13 2016 04:33
Yes, I am wondering whether the server is slow.
Brent Hoover
@zenweasel
May 13 2016 04:33
is there a public URL I can look at?
xiaoc li
@brianxcli
May 13 2016 04:33
@zenweasel Only the first time loading takes long time
@zenweasel 203.109.148.245:3000
Brent Hoover
@zenweasel
May 13 2016 04:36
Yeah, that’s not right. We have several people running Reaction on servers and they are not getting that sort of wait time. Something else is going on
How are you hosting this?
xiaoc li
@brianxcli
May 13 2016 04:37
@zenweasel No. The shop owner is hosting this server.
He's running it on vmware
Brent Hoover
@zenweasel
May 13 2016 04:40
I can’t tell what’s going on but it should not be taking that long to start up
xiaoc li
@brianxcli
May 13 2016 04:42
I will talk to him.
Karega McCoy
@karega
May 13 2016 19:16
if I want to utilize the concept of SKUs what should I do?
or even bundles and collections