Here is a code I have in my serveur directory in a file called main.js:
if (Meteor.isServer) {
Meteor.startup(function() {
return Meteor.Mandrill.config({
username: Meteor.settings.username_mail,
key: Meteor.settings.key_mail
});
});
}
I am using Mandrill to send e-mail and I would like to know how can I set the following
username: Meteor.settings.username_mail,
key: Meteor.settings.key_mail
I tried to run export METEOR_SETTINGS='{"username_mail":"user@mail.com", "key_mail":"fjbvbfvbfbvfjvf”}’
in my terminal but is does not work. I just can not figure out a way to configure it form the terminal.
Thanks.
meteor --settings yoursettings.json
If only there were some official docs which explained such basic things.