These are chat archives for reactioncommerce/reaction

19th
Sep 2017
Sergei
@spestushko
Sep 19 2017 02:50
Hi guys, has anyone seen an issue when created a product with an image uploaded, this image is not displayed on the main screen? Is there any fix for it? Does anyone know how to fix it?
Daniel Honig
@dhonig
Sep 19 2017 02:59
Seems like NOCK is auto injected for any HTTP request during test.
This isn't terrible, but it took a little time to discover.
IgorZh
@IgorZh
Sep 19 2017 05:18
@janus-reith you mean that to change view part I should create my own productDetail component and register new template?
Janus Reith
@janus-reith
Sep 19 2017 05:59
@IgorZh yeah like described above, the default two product Detail page Layouts are part of the integrated plugin product-detail-simple
zrisher
@zrisher
Sep 19 2017 06:12
Could anyone point me to documentation on best practices for managing git branches with reaction commerce? Following the installation guides, my newly created app directories include git project files. It has "origin" set as the reaction commerce repo (I noticed that if this is renamed the cli update tool fails). Are we meant to keep our application-specific changes on a separate branch based off master? Then we keep master up to date with reaction's repo, and merge any changes from master into our app branch?
IgorZh
@IgorZh
Sep 19 2017 10:20
I found simple product template imports/plugins/included/product-detail-simple/lib/layout/simple.js. Where I can find descripion of this syntax?
Lorenzo Campanis
@lcampanis
Sep 19 2017 11:45
@zrisher You will need two remote origins, one for reaction as is, and then one for yours, say origin2. These are essentially two different repos. You're interested in having reaction always merged into your master and development branches, so every now and then you would do git pull origin master or git pull origin development into your branches. You can use this model and keep reaction-cli working, since origin will always refer to reaction's repo. If you rename it then yes reaction-cli will not work out of the box. Then your changes will always be pushed and pulled from origin2 (your repo), like git push origin2 development.
hanifcitpl
@hanifcitpl
Sep 19 2017 11:54
"unexpected error in core" when we run sudo screen -rd command
image.png
When i open site in browser.
Ashish
@ashishgokhale
Sep 19 2017 12:01
hello everyone
can anyone please tell me how can i insert multiple products using Postman
in reaction commerce
Janus Reith
@janus-reith
Sep 19 2017 12:40
@IgorZh it is react + react-komposer. Look at the imported Containers. Mostly self-explanatory
jdmcrae
@jdmcrae
Sep 19 2017 12:58
Hi all. My team has started using RC, but we've noticed it takes 30 seconds - 2 minutes to rebuild every time we make a change regardless if it's a client or server change. Any tips for running more efficiently / speeding up development time?
I'm in particular trying to understand what choices to make around the identity of a user as it is stored in Stripe.
You see stripe will allow many 'Customer' objects with the same e-mail to be created.
shahid belal
@ConnectBelal_twitter
Sep 19 2017 15:45
I am getting this error (502 Bad Gateway nginx/1.10.3 (Ubuntu) ca you please advise me please to resolve this error
Jeremy Shimko
@jshimko
Sep 19 2017 15:46
you should check your nginx logs for more specific info.
shahid belal
@ConnectBelal_twitter
Sep 19 2017 15:55

user www-data;
worker_processes auto;
pid /run/nginx.pid;

events {
worker_connections 768;

# multi_accept on;

}

http {

##
# Basic Settings
##

sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;

# server_names_hash_bucket_size 64;
# server_name_in_redirect off;

include /etc/nginx/mime.types;
default_type application/octet-stream;

##
# SSL Settings
##

ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;

##
# Logging Settings
##

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

##
# Gzip Settings
##

gzip on;
gzip_disable "msie6";

# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
client_max_body_size 24M;
client_body_buffer_size 128k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

##
# Virtual Host Configs
##

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;

}

mail {

# See sample authentication script at:

# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript

# auth_http localhost/auth.php;

# pop3_capabilities "TOP" "USER";

# imap_capabilities "IMAP4rev1" "UIDPLUS";

server {

listen localhost:110;

protocol pop3;

proxy on;

}

server {

listen localhost:143;

protocol imap;

proxy on;

}

}

Jeremy Shimko
@jshimko
Sep 19 2017 15:55
your logs, not your config
and please surround code blocks with three backticks on each end. ```
shahid belal
@ConnectBelal_twitter
Sep 19 2017 16:00
will you please elaborate?
Daniel Honig
@dhonig
Sep 19 2017 16:20
and probably more topical if we take this conv. to deployment
machiko
@machikoyasuda
Sep 19 2017 17:27
@jdmcrae Are you using Meteor 1.5.2? We've been seeing this at Reaction too. We recommend downgrading Meteor to 1.5.1 the issue seems to go away when we downgrade to meteor 1.5.1. Thinking it could be related to this ticket already in Meteor: meteor/meteor#9094
Experiencing slowness with Meteor 1.5.2? You can check what version of Meteor you're on by running cat .meteor/release
Don't run meteor --version cos it will autoupdate everything :D
Daniel Honig
@dhonig
Sep 19 2017 17:31
@machikoyasuda what's the best example for documenting meteor methods ( public methods)
going to put that to use now
machiko
@machikoyasuda
Sep 19 2017 17:54
Tomorrow's the open Community Call! RSVP: http://getrxn.io/2xlPDf2
machiko
@machikoyasuda
Sep 19 2017 18:33
To downgrade (or upgrade) to Meteor 1.5.1: meteor update --release 1.5.1
zrisher
@zrisher
Sep 19 2017 22:11
@lcampanis Thanks for getting back on my question about git practices with reaction. If we are supposed to maintain our changes on master and pull in changes from the base repo, won't our pulling process grow longer and more complicated as more changes are made to reaction and to our app? It seems like the more commits we have different from reaction on the "master" branch, the farther back git will have to go to pull in the latest version, and the more commits we'll have to manually merge. And that's a problem that would get worse with each release. Wouldn't it be simpler to maintain our application commits on a different branch than "master" and "development"?
Daniel Honig
@dhonig
Sep 19 2017 23:43
@zrisher is it possible to contain all of your customizations in a plugin ?