These are chat archives for reactioncommerce/reaction

23rd
Aug 2016
Antonin Hackenberg
@TondaHack
Aug 23 2016 00:06 UTC
Hi, regarding to conversation about MAIL_URL. Where should be defined? Settings json or environment variable?
Jeremy Shimko
@jshimko
Aug 23 2016 00:14 UTC
either
3Maestros
@3Maestros
Aug 23 2016 00:23 UTC
I make some changes to Shipping in dashboard settings ,but they are gone once the server is restarted?
Jeremy Shimko
@jshimko
Aug 23 2016 00:23 UTC
they shouldn’t be unless you reset the database
or if they didn’t successfully save
3Maestros
@3Maestros
Aug 23 2016 00:24 UTC
okay , will try again.
3Maestros
@3Maestros
Aug 23 2016 01:36 UTC
@jshimko wondering if you saw any issues with email package?
I had the email working first time I tried with version 13, guess there were some major updates post V13
Nathan Yeung
@n8yeung
Aug 23 2016 04:27 UTC
Does reactioncommerce work with amazon free tier?
Jeremy Shimko
@jshimko
Aug 23 2016 04:28 UTC
I assume you mean the t2.micro EC2 instance. No, that’s not really enough resources for a large app. The t2.small or higher (ideally t2.medium) is recommended.
Nathan Yeung
@n8yeung
Aug 23 2016 04:28 UTC
Does it work on Openshift Online?
Jeremy Shimko
@jshimko
Aug 23 2016 04:28 UTC
Or if saving money is a priority, use Digital Ocean
Nathan Yeung
@n8yeung
Aug 23 2016 04:29 UTC
Okay thanks Jeremy
Jeremy Shimko
@jshimko
Aug 23 2016 04:29 UTC
Never used Openshift, but it’s just a Node app. If you can run a Node app on Openshift, then yes.
Nathan Yeung
@n8yeung
Aug 23 2016 04:29 UTC
yes you can i'll try it out and let you know
Jeremy Shimko
@jshimko
Aug 23 2016 04:31 UTC
Openshift supports Docker, so I personally recommend you start there. We provide a completely configured Docker image.
reactioncommerce/reaction:latest
Nathan Yeung
@n8yeung
Aug 23 2016 04:34 UTC
That's interesting. I've installed docker on my aws free tier instance
I wonder if it'll work
Jeremy Shimko
@jshimko
Aug 23 2016 04:35 UTC
Other than that server being underpowered, yes, it’ll work on any Docker host.
Nathan Yeung
@n8yeung
Aug 23 2016 04:35 UTC
yea
I will upgrade the server eventually
once the sales come in
Jeremy Shimko
@jshimko
Aug 23 2016 04:37 UTC
# start a server on Digital Ocean
# https://docs.docker.com/machine/drivers/digital-ocean/
docker-machine create \
  --driver digitalocean \
  --digitalocean-access-token <YOUR API KEY> \
  --digitalocean-size 2gb \
  reaction

# tell Docker to run commands on that server
eval "$(docker-machine env reaction)"

# start Reaction
# https://github.com/reactioncommerce/reaction
docker run -d \
  --name reaction \
  --restart always \
  -e MONGO_URL="mongodb://some-url" \
  -e ROOT_URL="https://yoursite.com" \
  reactioncommerce/reaction:latest
Nathan Yeung
@n8yeung
Aug 23 2016 04:41 UTC
thanks
Jeremy Shimko
@jshimko
Aug 23 2016 04:41 UTC
sure
Karen
@karenlin2207
Aug 23 2016 10:38 UTC
Hello,i have some questions .When I try to change guest roles permission by dashboard>Account>Manage. This button doesn't change any dashboard UI display(eg.dashboard/payments/braintree).
But I'm sure mongodb's collections has this permission changes. so, i want to know how can resolve this questions or maybe i miss something in your website.
Brent Hoover
@zenweasel
Aug 23 2016 11:09 UTC
sorry, I don’ t understand what problem you are having
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:37 UTC
i've just deployed a fresh clone of RC on heroku using instructions here https://docs.reactioncommerce.com/reaction-docs/master/deploying-reaction-using-heroku. I am getting a blank page with some warnings in the console - https://shielded-plains-96132.herokuapp.com/
Brent Hoover
@zenweasel
Aug 23 2016 11:39 UTC
that’s a completely stock reaction?
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:40 UTC
yes
server logs look clean as well
master branch of reaction, fyi
Brent Hoover
@zenweasel
Aug 23 2016 11:41 UTC
I see this error:BlazeLayout warning: unknown template “coreLayout”
that says warning, but without that template nothing will render
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:41 UTC
yup, same here
Brent Hoover
@zenweasel
Aug 23 2016 11:46 UTC
also seeing this: Error invoking SubsManager.subscribe("Inventory"): Subscription 'Inventory' not found
which should not be happening
I think those docs are missing the step of running meteor npm install
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:47 UTC
i would assume buildpack takes care of that
Brent Hoover
@zenweasel
Aug 23 2016 11:48 UTC
I don’t know. These instructions were created by a contributor, I have not tried this with Heroku
but usually things break in a completely different way if that hasn’t been run
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:49 UTC
gotcha. gonna look into it in more detail - i was hoping maybe there was something obvious i was missing
Brent Hoover
@zenweasel
Aug 23 2016 11:49 UTC
no, sorry. Let me know if you find out anything
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:50 UTC
will do. what is the recommended way of deploying staging builds of reaction, btw?
Brent Hoover
@zenweasel
Aug 23 2016 11:50 UTC
we recommend using docker
that’s the only way that we really “support”, although we will try to help you get it running on pretty much anything
Philip Nuzhnyi
@callmephilip
Aug 23 2016 11:51 UTC
ok. thank you
Karen
@karenlin2207
Aug 23 2016 12:12 UTC
My problem is when I add permission
Some function doesn't display on dashboard
Brent Hoover
@zenweasel
Aug 23 2016 12:14 UTC
Guests wouldn’t have access to the dashboard, so I am confused about what you were expecting
Karen
@karenlin2207
Aug 23 2016 12:16 UTC
But something have display ,eg. account setting
Brent Hoover
@zenweasel
Aug 23 2016 12:21 UTC
You need to be a logged in user, not a guest, to access dashboard functions
sorry if I am not understanding
Karen
@karenlin2207
Aug 23 2016 12:25 UTC
Yes I'm a logged in user. Maybe I need to try describe more detail . I have admintrate account and try to change other account's permission.
But othet accounts doesn't display all setting function
Brent Hoover
@zenweasel
Aug 23 2016 12:27 UTC
you are trying to add exactly what permissions to what account?
Karen
@karenlin2207
Aug 23 2016 12:30 UTC
Guest roles account
Cant I do it?
Brent Hoover
@zenweasel
Aug 23 2016 12:33 UTC
There is not really much you can add to a guest account because they are by definition not logged in users
but what are you trying to add?
Karen
@karenlin2207
Aug 23 2016 12:41 UTC
I try yo add payment/braintree and i18n
Brent Hoover
@zenweasel
Aug 23 2016 12:43 UTC
No, guest users can’t access administrative functions
Why would you want to give everyone access to your payment settings?
Karen
@karenlin2207
Aug 23 2016 12:44 UTC
So its because that is guest
Right?
Oh I just try it
Brent Hoover
@zenweasel
Aug 23 2016 12:44 UTC
that’s correct
Karen
@karenlin2207
Aug 23 2016 12:46 UTC
Thank you!
3Maestros
@3Maestros
Aug 23 2016 18:37 UTC
I have edited default "Free Shipping" to "Paid Shipping" as a test , on app resart the changes are lost it goes back to "Free Shipping".
I am running version 15 .
Aaron Judd
@aaronjudd
Aug 23 2016 18:59 UTC
@3Maestros can you create an issue on that? should be a quick fix I’m thinking
3Maestros
@3Maestros
Aug 23 2016 19:26 UTC
@aaronjudd you got it!
Aaron Judd
@aaronjudd
Aug 23 2016 20:08 UTC
@3Maestros thanks!
Spencer Norman
@spencern
Aug 23 2016 21:19 UTC
Any documentation on the new Subscriptions Manager?
e.g. Subscriptions.Manager… and should we be using it for our own subscriptions
3Maestros
@3Maestros
Aug 23 2016 21:26 UTC
#1320 is opened to track shipping settings issue.
Brent Hoover
@zenweasel
Aug 23 2016 21:27 UTC
is subs-manager new?
Spencer Norman
@spencern
Aug 23 2016 21:28 UTC
not certain I guess, just merged 0.15.1 and it’s the first time I’ve seen it
Brent Hoover
@zenweasel
Aug 23 2016 21:30 UTC
I think it’s been around since I started with the project at least
Spencer Norman
@spencern
Aug 23 2016 21:33 UTC
These changes are what triggered my question
Brent Hoover
@zenweasel
Aug 23 2016 21:37 UTC
hmmmm, yeah
Spencer Norman
@spencern
Aug 23 2016 21:37 UTC
perhaps it’s been around and just got refactored into older code