These are chat archives for reactioncommerce/reaction

6th
Jun 2016
Aesop7
@Aesop7
Jun 06 2016 01:26 UTC
How do I setup email? (I've got mailgun setup, but does Reaction expect a different API?)
Brent Hoover
@zenweasel
Jun 06 2016 01:27 UTC
You just need to provide the mail URL (as an SMTP formatted URL) in reaction.json or as an environment variable
Aesop7
@Aesop7
Jun 06 2016 01:28 UTC
Thanks Brent, do you have an example? or is there one in the documentation maybe?
Brent Hoover
@zenweasel
Jun 06 2016 01:30 UTC
sorry, I take that back, you need to supply user/pass/host/port and Reaction will construct the URL
Aesop7
@Aesop7
Jun 06 2016 01:31 UTC
Okay, I'll dig into SMTP a little bit more. Mailgun doesn't really specify a username, but there is a "login"
Aesop7 @Aesop7 is off to Google
Brent Hoover
@zenweasel
Jun 06 2016 01:33 UTC
so I think I was actually also right before, in reaction.json you can specify the parameters or you can specify an SMTP url in settings.json or as an environment variable
But I know mailgun works as that is what we use and I have helped a couple of other people get it set up
Aesop7
@Aesop7
Jun 06 2016 01:34 UTC
The Meteor docs seem to reinforce that. They mention smtp://USERNAME:PASSWORD@HOST:PORT/.
Brent Hoover
@zenweasel
Jun 06 2016 01:34 UTC
Yes, we are pretty much just using the stock Meteor mail functionality
Spencer Norman
@spencern
Jun 06 2016 01:34 UTC
I’ve been using my SMTP setup as an ENV variable
haven’t tried in settings.json or reaction.json
Brent Hoover
@zenweasel
Jun 06 2016 01:34 UTC
I always have to google what the format of an SMTP url is
Aesop7
@Aesop7
Jun 06 2016 01:34 UTC
Spencer, are you using Mailgun?
Spencer Norman
@spencern
Jun 06 2016 01:35 UTC
did for a while
using postmark now
Aesop7
@Aesop7
Jun 06 2016 01:35 UTC
Oh wow, I hadn't heard of postmark; it looks really interesting
Brent Hoover
@zenweasel
Jun 06 2016 01:37 UTC
@spencern Does postmark have a free tier?
Aesop7
@Aesop7
Jun 06 2016 01:38 UTC
looks like you get 25000 "credits"
Spencer Norman
@spencern
Jun 06 2016 01:39 UTC
yeah, you get 25000 emails for free
Brent Hoover
@zenweasel
Jun 06 2016 01:39 UTC
25k should last you for “development"
Spencer Norman
@spencern
Jun 06 2016 01:39 UTC
and then pay per email
it’s a great deal for lower-volume senders b/c you don’t pay monthly
Aesop7
@Aesop7
Jun 06 2016 01:39 UTC
not too shabby at all
Spencer Norman
@spencern
Jun 06 2016 01:39 UTC
just when you need to reup
also know their devs pretty well and the team is really solid
great metrics on sent email too, and they only do transactional
Aesop7
@Aesop7
Jun 06 2016 01:40 UTC
if there are any promos for Reaction devs that would be the icing on the cake :wink:
Spencer Norman
@spencern
Jun 06 2016 01:40 UTC
haha, I’ll see what I can do
Aesop7
@Aesop7
Jun 06 2016 01:40 UTC
:smile:
Brent Hoover
@zenweasel
Jun 06 2016 01:44 UTC
Do they have an open-source presence? How do you know them @spencern?

"Wildbit supports bootstrapped companies

ThinkStrapped
The best companies use the best services to power their businesses. Bootstrapped companies can’t always afford the best from the start, so we’re offering 50,000 free credits for companies that are charging for their products and have not taken any outside funding. Contact support@postmarkapp.com to find out how."

there you go @Aesop7
Spencer Norman
@spencern
Jun 06 2016 01:45 UTC
Back when we were on Shopify, they had a product (beanstalk) that allowed us deploy shopify themes from git branches on commit. We did a case study with them and then met up with the founders and a few others at a conference this past april
Aesop7
@Aesop7
Jun 06 2016 01:45 UTC
:+1: thanks
Spencer Norman
@spencern
Jun 06 2016 01:46 UTC
Super great customer service team too
Brent Hoover
@zenweasel
Jun 06 2016 01:46 UTC
yeah, I remember Beanstalk
Spencer Norman
@spencern
Jun 06 2016 01:47 UTC
apparently postmark is where they have been putting all their effort lately and in my opinion it shows, loving the service so far
Brent Hoover
@zenweasel
Jun 06 2016 01:48 UTC
I’ve used Mailgun across several positions and have no complaints, but no real raves either
Himanshu Aggarwal
@haggarwal90
Jun 06 2016 05:55 UTC
Hi . i am running ./reaction for development and by default it is creating metor DB at localhost port 3001. how can i configure it for default local mongoDB port 27017
Brent Hoover
@zenweasel
Jun 06 2016 05:55 UTC
do you not want it to connect to the dev version of Mongo?
Himanshu Aggarwal
@haggarwal90
Jun 06 2016 05:56 UTC
i tried to configure it in dev.setting.json but it is not working
Brent Hoover
@zenweasel
Jun 06 2016 05:57 UTC
You can use custom Meteor.settings by copying settings/dev.settings.json to settings/settings.json
Custom configuration is covered in the docs here: https://docs.reactioncommerce.com/reaction-docs/master/configuration
Himanshu Aggarwal
@haggarwal90
Jun 06 2016 05:58 UTC
ok i'll try and one more question by default app is running at App running at: http://localhost:3000/
how can i configure it to run at another port
like httphost:4005
Brent Hoover
@zenweasel
Jun 06 2016 06:00 UTC
you can pass port to the ./reaction command using -p e.g. ./reaction -p 4005
./reaction mostly just does meteor run and will accept all parameters you can pass there
To see the parameters just do meteor help run
Michael Jenny
@prinzdezibel
Jun 06 2016 07:29 UTC
@zenweasel Hi brent, hope you had a great time at the beach :)
@motoxuz
@motoxuz_twitter
Jun 06 2016 10:31 UTC
@zenweasel Hi, I have a question :)
@zenweasel I have problem with slug file size on heroku, do you have any experience of that? When I add phantomjs for spiderable the size of slug gets over 300 MB and it refuses to push to heroku
J T
@wytanj
Jun 06 2016 18:56 UTC
@haggarwal90 ./reaction --port 3005 or whatever it is
Michael Jenny
@prinzdezibel
Jun 06 2016 19:40 UTC
@aaronjudd If you like the PR so far, I'm going to translate the rest of the templates..
Aaron Judd
@aaronjudd
Jun 06 2016 19:59 UTC
@prinzdezibel reviewing it now...
Brent Hoover
@zenweasel
Jun 06 2016 23:55 UTC
@prinzdezibel Thanks. I did, except I have a scorching sunburn. I know, boo hoo.
@motoxuz_twitter Sorry, I am not that familiar with Heroku. What is a slug file? How does that get generated?